Class BufferedSpriteShape
Represents a shape for a buffered sprite in a graphics context.
Inherited Members
Namespace: Genesis.Graphics.Shapes
Assembly: Genesis.dll
Syntax
public class BufferedSpriteShape : Shape
Constructors
BufferedSpriteShape()
Declaration
public BufferedSpriteShape()
Methods
GetShape()
Gets the vertices defining the buffered sprite shape.
Declaration
public override float[] GetShape()
Returns
Type | Description |
---|---|
float[] | An array of floating-point values representing the vertices, colors, and texture coordinates of the buffered sprite. |
Overrides
Remarks
The vertices are defined in groups of three for each triangle face:
- Vertex positions (x, y, z)
- Colors (r, g, b)
- Texture coordinates (u, v)