-
Notifications
You must be signed in to change notification settings - Fork 1
Physics.Shape
Matthew Daly edited this page Jan 4, 2023
·
6 revisions
Namespace: Verdant.Physics
public class Shape
The foundation of PhysicsEntity colliders.
Navigate
Property | Description |
---|---|
Vertices | |
Position | |
Dir | The direction of the Shape. |
public virtual void Draw(SpriteBatch spriteBatch, Camera camera, Color color)
Draw the Shape (such as when visualizing a PhysicsEntity's body).
Parameter | Description |
---|---|
SpriteBatch spriteBatch
|
The SpriteBatch to render with. |
Camera camera
|
The Scene Camera to render through. |
Color color
|
The color to draw the Shape with. |
The Verdant wiki is automatically generated from documentation comments in the codebase by markify.