Pyramid |
public class PyramidModelNode : ModelNode
The PyramidModelNode type exposes the following members.
Name | Description | |
---|---|---|
PyramidModelNode | Initializes a new instance of the PyramidModelNode class | |
PyramidModelNode(String) | Initializes a new instance of the PyramidModelNode class | |
PyramidModelNode(Material, String) | Initializes a new instance of the PyramidModelNode class | |
PyramidModelNode(Vector3, Vector3, String) | Initializes a new instance of the PyramidModelNode class | |
PyramidModelNode(Vector3, Vector3, Material, String) | Initializes a new instance of the PyramidModelNode class |
Name | Description | |
---|---|---|
BottomCenterPosition | Gets or sets the center position of the bottom rectangle that defines the pyramid Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method. | |
Size | Size of the pyramid. Default value is (0, 0, 0). Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method. |
Name | Description | |
---|---|---|
UpdateMesh |
UpdateMesh method recreates the mesh based on the current object properties.
The method should be overriden in the derived class that provides its own mesh generation.
(Overrides ModelNodeUpdateMesh) |