|
TrapezoidModelNode Class |
A 3D trapezoid model.
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public class TrapezoidModelNode : ModelNode
The TrapezoidModelNode type exposes the following members.
Constructors | Name | Description |
---|
| TrapezoidModelNode |
Create an upright 3D trapezoid model.
|
| TrapezoidModelNode(String) |
Create an upright 3D trapezoid model.
|
| TrapezoidModelNode(Material, String) |
Create an upright 3D trapezoid model.
|
| TrapezoidModelNode(Vector3, Vector2, Vector3, Vector2, String) |
Create an upright 3D trapezoid model with rectangular top/bottom sides.
|
| TrapezoidModelNode(Vector3, Vector2, Vector3, Vector2, Material, String) |
Create an upright 3D trapezoid model with rectangular top/bottom sides and specified material.
|
| TrapezoidModelNode(Vector3, Vector2, Vector3, Vector2, Vector3, Vector3, String) |
Create a 3D trapezoid with custom-oriented top/bottom sides.
|
| TrapezoidModelNode(Vector3, Vector2, Vector3, Vector2, Vector3, Vector3, Material, String) |
Create a 3D trapezoid with custom-oriented top/bottom sides and specified material.
|
TopProperties | Name | Description |
---|
| BottomCenterPosition |
Position of the bottom-center point.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| BottomSize |
Size of the bottom side of the trapezoid.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| SizeXVector |
The 3D vector representing the direction of the X parameter in bottomSize and topSize.
The default value is (1, 0, 0).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| SizeYVector |
The 3D vector representing the direction of the Y parameter in bottomSize and topSize.
The default value is (0, 0, 1).
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| TopCenterPosition |
Position of the top-center point.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
| TopSize |
Size of the top side of the trapezoid.
Property change will re-generate the mesh in the next update phase. To immediately re-generate the mesh, call the Update method.
|
TopMethods | 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) |
TopSee Also