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