Class Shape
Represents an abstract base class for defining shapes in a graphics context.
Inheritance
Shape
Inherited Members
Namespace: Genesis.Graphics.Shapes
Assembly: Genesis.dll
Syntax
public abstract class Shape
Constructors
Shape()
Declaration
protected Shape()
Properties
vbo
Gets or sets the Vertex Buffer Object (VBO) associated with the shape.
Declaration
public int vbo { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetShape()
Gets the vertices defining the shape.
Declaration
public abstract float[] GetShape()
Returns
Type | Description |
---|---|
float[] | An array of floating-point values representing the vertices of the shape. |