SetPrimitiveCone
Overloads
| Name | Description |
|---|---|
| SetPrimitiveCone(int bodyIndex, Color color, Matrix3D matrix, List<float> radius, float height, int sideCount, float unitScale, int systemType) | Set Primitive : Cone, Sloped Cylinder, Snout |
SetPrimitiveCone(int bodyIndex, Color color, Matrix3D matrix, List<float> radius, float height, int sideCount, float unitScale, int systemType)
public bool SetPrimitiveCone(int bodyIndex, Color color, Matrix3D matrix, List<float> radius, float height, int sideCount, float unitScale, int systemType)
Set Primitive : Cone, Sloped Cylinder, Snout
Parameters
| Name | Type | Description |
|---|---|---|
| bodyIndex | int | Body Index |
| color | Color | Color |
| matrix | Matrix3D | Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation |
| radius | List<float> | Radius : [0] - Top Radius, [1] - Bottom Radius |
| height | float | Height |
| sideCount | int | Side Count : 12 (6~36) |
| unitScale | float | Unit Scale : 1.0f |
| systemType | int | System Type : 0(TRIBON), 1(AVEVA MARINE : Default) |
Returns
| Type | Description |
|---|---|
| bool | Result |