Class LineShape
Represents a shape that defines a line segment.
Inherited Members
Namespace: Genesis.Graphics.Shapes
Assembly: Genesis.dll
Syntax
public class LineShape : Shape
Constructors
LineShape()
Declaration
public LineShape()
Methods
GetShape()
Gets the vertices defining the line segment shape.
Declaration
public override float[] GetShape()
Returns
Type | Description |
---|---|
float[] | An array of floating-point values representing the start and end points of the line. |
Overrides
Remarks
The vertices are defined in the following order:
- Start point (x, y, z)
- End point (x, y, z)