 |
TrapezoidModelNode(Vector3, Vector2, Vector3, Vector2, Material, String) Constructor |
Create an upright 3D trapezoid model with rectangular top/bottom sides and specified material.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 5.0.1075+bc537c8d217949260b11f66ee86aefa6456ac517
Syntaxpublic TrapezoidModelNode(
Vector3 bottomCenterPosition,
Vector2 bottomSize,
Vector3 topCenterPosition,
Vector2 topSize,
Material material,
string? name = null
)
Parameters
- bottomCenterPosition Vector3
- Position of the bottom-center point.
- bottomSize Vector2
- Size of the bottom side of the trapezoid.
- topCenterPosition Vector3
- Position of the top-center point.
- topSize Vector2
- Size of the top side of the trapezoid.
- material Material
- Mesh material.
- name String (Optional)
- Optional node name.
See Also