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.910 (2.8.24.910)
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  Int32
Body Index
color  Color
Color
matrix  Matrix3D
Matrix : [0 ~ 8] - Transform, [9 ~ 11] - Translation
radius  ListSingle
Radius : [0] - Top Radius, [1] - Bottom Radius
height  Single
Height
sideCount  Int32  (Optional)
Side Count : 12 (6~36)
unitScale  Single  (Optional)
Unit Scale : 1.0f
systemType  Int32  (Optional)
System Type : 0(TRIBON), 1(AVEVA MARINE : Default)

Return Value

Boolean
Result
See Also