|
GeometryMeshGeneratorCreateViewportQuad(ViewportF, String, Boolean) Method |
Creates a SimpleMash that defines a quad (rectangle created with two triangles) from the specified coordinates - (0,0) is upper left corner, (1,1) is lower right corner.
Namespace: Ab3d.DirectXAssembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax public static SimpleMesh<PositionTexture> CreateViewportQuad(
ViewportF viewport,
string name = "ViewportQuad",
bool isFrontCounterClockwise = true
)
Parameters
- viewport ViewportF
- viewport
- name String (Optional)
- name - ViewportQuad by default
- isFrontCounterClockwise Boolean (Optional)
- Boolean that specifies if triangles are oriented so that front size of the quad is clock wise (true by default)
Return Value
SimpleMeshPositionTextureSimpleMesh
See Also