 |
EllipseArcLineNode(Vector3, Vector3, Vector3, Single, Single, Single, Single, Int32, Color4, Single, String) Constructor |
Constructor
Namespace: Ab4d.SharpEngine.SceneNodesAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic EllipseArcLineNode(
Vector3 centerPosition,
Vector3 widthDirection,
Vector3 heightDirection,
float width,
float height,
float startAngle,
float endAngle,
int segments,
Color4 lineColor,
float lineThickness,
string? name = null
)
Parameters
- centerPosition Vector3
- Position of the ellipse center
- widthDirection Vector3
- The direction of the ellipse's the major semi-axis (i.e., width of 2D ellipse shape).
- heightDirection Vector3
- The direction of the ellipse's the minor semi-axis (i.e., height of 2D ellipse shape).
- width Single
- The diameter of the ellipse along its major semi-axis (i.e., the width of 2D ellipse shape).
- height Single
- The diameter of the ellipse along its minor semi-axis (i.e., the height of 2D ellipse shape).
- startAngle Single
- Start angle, in degrees.
- endAngle Single
- End angle, in degrees.
- segments Int32
- Number of segments that define the circle.
- lineColor Color4
- line color as Color4 (not alpha pre-multiplied)
- lineThickness Single
- line thickness in screen-space (in pixels divided by dpi scale; e.g. lineThickness: 10 and dpiScale: 1.5 will produce actual thickness with 15 pixels)
- name String (Optional)
- optional name
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.SceneNodes.EllipseArcLineNode.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Numerics.Vector3,System.Single,System.Single,System.Single,System.Single,System.Int32,Ab4d.SharpEngine.Common.Color4,System.Single,System.String)"]
See Also