|
void | CreateMesh (Material cylinderMaterial) |
| Creates the cylinder mesh inside this transform. More...
|
|
Vector3 | GetPivotPosition () |
| Returns the position of the base point of the cylinder. More...
|
|
void | UpdateValues (float radius, double botHeight, double topHeight, double distanceToCenter) |
| Updates the cylinder size and radius. More...
|
|
void GAPUtil_DynamicCylinder.CreateMesh |
( |
Material |
cylinderMaterial | ) |
|
|
inline |
Creates the cylinder mesh inside this transform.
- Parameters
-
cylinderMaterial | The material that will be applied to the cylinder mesh. |
Vector3 GAPUtil_DynamicCylinder.GetPivotPosition |
( |
| ) |
|
|
inline |
Returns the position of the base point of the cylinder.
- Returns
void GAPUtil_DynamicCylinder.UpdateValues |
( |
float |
radius, |
|
|
double |
botHeight, |
|
|
double |
topHeight, |
|
|
double |
distanceToCenter |
|
) |
| |
|
inline |
Updates the cylinder size and radius.
- Parameters
-
radius | The new radius of the cylnder |
botHeight | The percentage value of the bottom of the cylinder |
topHeight | The percentage value of the top of the cylinder |
distanceToCenter | The distance of the base point of the cylinder to the center, to calculate the projection. |
The documentation for this class was generated from the following file: