| Object3DPrimitiviveManagerSetPrimitiveBox Method |
Set Primitive Box
Namespace: VIZCore3D.NET.ManagerAssembly: VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.910 (2.8.24.910)
Syntax public bool SetPrimitiveBox(
int bodyIndex,
Color color,
Matrix3D matrix,
List<float> length,
float unitScale = 1f
)
Parameters
- bodyIndex Int32
- Body Index
- color Color
- Color
- matrix Matrix3D
- Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation
- length ListSingle
- Length : [0] - X Axis. Length, [1] - Y Axis. Length, [2] - Z Axis. Length
- unitScale Single (Optional)
- Unit Scale : 1.0f
Return Value
BooleanResult
See Also