Class PlaneShape
Represents a shape that defines a plane in three-dimensional space.
Inherited Members
Namespace: Genesis.Graphics.Shapes
Assembly: Genesis.dll
Syntax
public class PlaneShape : Shape
Constructors
PlaneShape()
Declaration
public PlaneShape()
Methods
GetShape()
Gets the vertices defining the plane shape.
Declaration
public override float[] GetShape()
Returns
Type | Description |
---|---|
float[] | An array of floating-point values representing the vertices, colors, and texture coordinates. |
Overrides
Remarks
The vertices are defined in the following order:
- Vertex positions (x, y, z)
- Colors (r, g, b)
- Texture coordinates (u, v)