Property | Type | Description | |
---|---|---|---|
Colour | Color | ||
Depth | float | ||
Position | Vector2 |
Method | Description | |
---|---|---|
AddVector ( Vector2 vector ) : void |
Adds a vector to the primive live object.
|
|
ClearVectors ( ) : void |
Clears all vectors from the primitive line object.
|
|
CreateCircle ( float radius, int sides ) : void |
Creates a circle starting from 0, 0.
|
|
InsertVector ( int index, Vector2 vector ) : void |
Insers a vector into the primitive line object.
|
|
PrimitiveLine ( GraphicsDevice graphicsDevice ) : System |
Creates a new primitive line object.
|
|
RemoveVector ( Vector2 vector ) : void |
Removes a vector from the primitive line object.
|
|
RemoveVector ( int index ) : void |
Removes a vector from the primitive line object.
|
|
Render ( |
Renders the primtive line object.
|
public AddVector ( Vector2 vector ) : void | ||
vector | Vector2 | The vector to add. |
return | void |
public CreateCircle ( float radius, int sides ) : void | ||
radius | float | The radius (half the width) of the circle. |
sides | int | The number of sides on the circle (the more the detailed). |
return | void |
public InsertVector ( int index, Vector2 vector ) : void | ||
index | int | The index to insert it at. |
vector | Vector2 | The vector to insert. |
return | void |
public PrimitiveLine ( GraphicsDevice graphicsDevice ) : System | ||
graphicsDevice | GraphicsDevice | The Graphics Device object to use. |
return | System |
public RemoveVector ( Vector2 vector ) : void | ||
vector | Vector2 | The vector to remove. |
return | void |
public RemoveVector ( int index ) : void | ||
index | int | The index of the vector to remove. |
return | void |
public Render ( |
||
spriteBatch | The sprite batch to use to render the primitive line object. | |
return | void |