Click or drag to resize

Object3DPrimitiviveManagerSetPrimitiveCone Method

Set Primitive : Cone, Sloped Cylinder, Snout

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

Parameters

bodyIndex
Type: SystemInt32
Body Index
color
Type: System.DrawingColor
Color
matrix
Type: VIZCore3D.NET.DataMatrix3D
Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation
radius
Type: System.Collections.GenericListSingle
Radius : [0] - Top Radius, [1] - Bottom Radius
height
Type: SystemSingle
Height
sideCount (Optional)
Type: SystemInt32
Side Count : 12 (6~36)
unitScale (Optional)
Type: SystemSingle
Unit Scale : 1.0f
systemType (Optional)
Type: SystemInt32
System Type : 0(TRIBON), 1(AVEVA MARINE : Default)

Return Value

Type: Boolean
Result
See Also