Свойство | Type | Description | |
---|---|---|---|
gridMajorColor | Color | ||
gridMajorPeriodX | int | ||
gridMajorPeriodY | int | ||
gridMajorThickness | float | ||
gridMinorColor | Color | ||
gridMinorThickness | float |
Méthode | 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 ( |
Méthode | Description | |
---|---|---|
IUpdatable ( ) : void | ||
drawLine ( |
||
projectToVector2 ( Vector3 v ) : Vector2 |
public SpringGrid ( |
||
gridSize | ||
spacing | Vector2 | |
Résultat | System.Collections.Generic |
public applyDirectedForce ( Vector2 force, Vector2 position, float radius ) : void | ||
force | Vector2 | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Résultat | void |
public applyDirectedForce ( Vector3 force, Vector3 position, float radius ) : void | ||
force | Vector3 | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Résultat | void |
public applyExplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Résultat | void |
public applyExplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Résultat | void |
public applyImplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Résultat | void |
public applyImplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Résultat | void |
public render ( |
||
graphics | ||
camera | ||
Résultat | void |