Свойство | Тип | Описание | |
---|---|---|---|
gridMajorColor | Color | ||
gridMajorPeriodX | int | ||
gridMajorPeriodY | int | ||
gridMajorThickness | float | ||
gridMinorColor | Color | ||
gridMinorThickness | float |
Метод | Описание | |
---|---|---|
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 ( |
Метод | Описание | |
---|---|---|
IUpdatable ( ) : void | ||
drawLine ( |
||
projectToVector2 ( Vector3 v ) : Vector2 |
public SpringGrid ( |
||
gridSize | ||
spacing | Vector2 | |
Результат | System.Collections.Generic |
public applyDirectedForce ( Vector2 force, Vector2 position, float radius ) : void | ||
force | Vector2 | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Результат | void |
public applyDirectedForce ( Vector3 force, Vector3 position, float radius ) : void | ||
force | Vector3 | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Результат | void |
public applyExplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Результат | void |
public applyExplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Результат | void |
public applyImplosiveForce ( float force, Vector2 position, float radius ) : void | ||
force | float | Force. |
position | Vector2 | Position. |
radius | float | Radius. |
Результат | void |
public applyImplosiveForce ( float force, Vector3 position, float radius ) : void | ||
force | float | Force. |
position | Vector3 | Position. |
radius | float | Radius. |
Результат | void |
public render ( |
||
graphics | ||
camera | ||
Результат | void |