Click or drag to resize

SimpleMeshGeneratorGenerateCapsule Method (Int32, Double, Double, Int32, Int32, Vector3, Int32)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void GenerateCapsule(
	int axis,
	double radius,
	double height,
	int hSegments,
	int vSegments,
	out Vector3[] positions,
	out int[] indices
)

Parameters

axis
Type: SystemInt32
radius
Type: SystemDouble
height
Type: SystemDouble
hSegments
Type: SystemInt32
vSegments
Type: SystemInt32
positions
Type: NeoAxisVector3
indices
Type: SystemInt32
See Also