 |
CircleModelNode(Vector3, Vector3, Vector3, Single, Int32, Material, String) Constructor |
Create a flat 2D circle with specified material.
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic CircleModelNode(
Vector3 centerPosition,
Vector3 normal,
Vector3 upDirection,
float radius,
int segments,
Material material,
string? name = null
)
Parameters
- centerPosition Vector3
- Position of the circle's center.
- normal Vector3
- Direction of the normal vector (perpendicular to circle's surface).
- upDirection Vector3
- Direction of vector along the circle's surface (the up vector of the 2D shape).
- radius Single
- Radius of the circle.
- segments Int32
- Number of segments/points comprising the circle's edge.
- material Material
- Mesh material.
- name String (Optional)
- Optional node name.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.CircleModelNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Int32,Ab4d.SharpEngine.Materials.Material,System.String)"]
See Also