Click or drag to resize

Object3DPrimitiviveManagerSetPrimitiveBox Method

Set Primitive Box

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public bool SetPrimitiveBox(
	int bodyIndex,
	Color color,
	Matrix3D matrix,
	List<float> length,
	float unitScale = 1f
)

Parameters

bodyIndex
Type: SystemInt32
Body Index
color
Type: System.DrawingColor
Color
matrix
Type: VIZCore3D.NET.DataMatrix3D
Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation
length
Type: System.Collections.GenericListSingle
Length : [0] - X Axis. Length, [1] - Y Axis. Length, [2] - Z Axis. Length
unitScale (Optional)
Type: SystemSingle
Unit Scale : 1.0f

Return Value

Type: Boolean
Result
See Also