Click or drag to resize
Ab4d.SharpEngine logo

MeshFactoryCreateViewportQuad Method

Overload List
 NameDescription
Public methodStatic memberCreateViewportQuad(Vector2, Vector2, Boolean, String) Creates a TriangleMesh with PositionTextureVertex that defines a quad (rectangle created with two triangles) from the specified viewport, for example: viewportOffset (0,0) and viewportSize (1,1) define the whole screen.
Public methodStatic memberCreateViewportQuad(Single, Single, Single, Single, Boolean, String) Creates a TriangleMesh with PositionTextureVertex that defines a quad (rectangle created with two triangles) from the specified coordinates: - x1 and y1 defines the bottom left position (-1, -1 for full screen); x2 and y2 define the upper right position (1, 1 for full screen).
Top
See Also