|  | 
| MeshFactoryCreateViewportQuad(Single, Single, Single, Single, Boolean, String) Method | 
            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).
            
Namespace: Ab4d.SharpEngine.MeshesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
 Syntax
Syntaxpublic static TriangleMesh<PositionTextureVertex> CreateViewportQuad(
	float x1,
	float y1,
	float x2,
	float y2,
	bool isFrontCounterClockwise = true,
	string? name = null
)
Parameters
- x1  Single
- x1
- y1  Single
- y1 (-1 is bottom, 1 is top)
- x2  Single
- x2
- y2  Single
- y2
- isFrontCounterClockwise  Boolean  (Optional)
- Boolean that specifies if triangles are oriented so that front size of the quad is clock wise (true by default)
- name  String  (Optional)
- name - ViewportQuad by default
Return Value
TriangleMeshPositionTextureVertexTriangleMesh with PositionTextureVertex
 See Also
See Also