SetPrimitiveBox
Overloads
| Name | Description |
|---|---|
| SetPrimitiveBox(int bodyIndex, Color color, Matrix3D matrix, List<float> length, float unitScale) | Set Primitive Box |
SetPrimitiveBox(int bodyIndex, Color color, Matrix3D matrix, List<float> length, float unitScale)
public bool SetPrimitiveBox(int bodyIndex, Color color, Matrix3D matrix, List<float> length, float unitScale)
Set Primitive Box
Parameters
| Name | Type | Description |
|---|---|---|
| bodyIndex | int | Body Index |
| color | Color | Color |
| matrix | Matrix3D | Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation |
| length | List<float> | Length : [0] - X Axis. Length, [1] - Y Axis. Length, [2] - Z Axis. Length |
| unitScale | float | Unit Scale : 1.0f |
Returns
| Type | Description |
|---|---|
| bool | Result |