Click or drag to resize
Ab4d.SharpEngine logo

PlaneModelNode Properties

The PlaneModelNode type exposes the following members.

Properties
 NameDescription
Public propertyHeightDirection Gets or sets the Vector3 that defines the direction of the height (used in size). Default value if (0, 0, -1).
Public propertyHeightSegmentsCount Number of segments in the height direction. Default value is 1. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Public propertyNormal Gets or sets the normal vector of this plane (the vector that is perpendicular to the plane). Default value is (0, 1, 0).
Public propertyPosition Gets or sets a position of the 3D plane. Default value is (0, 0, 0). See also PositionType that defines the type of this position.
Public propertyPositionType Gets or sets the type of the Position. Default value is Center.
Public propertySize Gets or sets the size of the plane. Default value is (1, 1).
Public propertyUseSharedPlaneMesh Gets or sets a Boolean that specifies if a shared plane mesh with center at (0, 0, 0) and size (1, 1) is used for this plane (this uses the same vertex and index buffer for all planes with shared mesh). In this case the final position and size is set by using a mesh transformation. When false, then a new mesh instance is created with positions that are calculated from the properties of this plane. Default value is true.
Public propertyWidthSegmentsCount Number of segments in the width direction. Default value is 1. Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
Top
See Also