Property | Type | Description | |
---|---|---|---|
gridMajorColor | Color | ||
gridMajorPeriodX | int | ||
gridMajorPeriodY | int | ||
gridMajorThickness | float | ||
gridMinorColor | Color | ||
gridMinorThickness | float |
Method | Description | |
---|---|---|
SpringGrid ( |
||
applyDirectedForce ( Vector2 force, Vector2 position, float radius ) : void |
applies a force in a 3-dimensional direction
|
|
applyDirectedForce ( Vector3 force, Vector3 position, float radius ) : void |
applies a force in a 3-dimensional direction
|
|
applyExplosiveForce ( float force, Vector2 position, float radius ) : void |
applies a force the pushes the grid out aware from the point
|
|
applyExplosiveForce ( float force, Vector3 position, float radius ) : void |
applies a force the pushes the grid out aware from the point
|
|
applyImplosiveForce ( float force, Vector2 position, float radius ) : void |
applies a force that sucks the grid in towards the point
|
|
applyImplosiveForce ( float force, Vector3 position, float radius ) : void |
applies a force that sucks the grid in towards the point
|
|
render ( |
Method | Description | |
---|---|---|
IUpdatable ( ) : void | ||
drawLine ( |
||
projectToVector2 ( Vector3 v ) : Vector2 |
public SpringGrid ( |
||
gridSize | ||
spacing | Vector2 | |
return | System.Collections.Generic |
public applyDirectedForce ( Vector2 force, Vector2 position, float radius ) : void | ||
force | Vector2 | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
return | void |
public applyDirectedForce ( Vector3 force, Vector3 position, float radius ) : void | ||
force | Vector3 | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
return | void |
public applyExplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
return | void |
public applyExplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
return | void |
public applyImplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
return | void |
public applyImplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
return | void |
public render ( |
||
graphics | ||
camera | ||
return | void |