|
PlaneModelNode Properties |
The PlaneModelNode type exposes the following members.
Properties | Name | Description |
---|
| HeightDirection |
Gets or sets the Vector3 that defines the direction of the height (used in size). Default value if (0, 0, -1).
|
| HeightSegmentsCount |
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.
|
| Normal |
Gets or sets the normal vector of this plane (the vector that is perpendicular to the plane). Default value is (0, 1, 0).
|
| Position |
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.
|
| PositionType |
Gets or sets the type of the Position. Default value is Center.
|
| Size |
Gets or sets the size of the plane.
Default value is (1, 1).
|
| UseSharedPlaneMesh |
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.
|
| WidthSegmentsCount |
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.
|
TopSee Also