Click or drag to resize

SimpleMeshGeneratorGeneratePipe Method (Int32, Double, Double, Double, Int32, Int32, Boolean, Vector3F, Vector3F, Vector4F, Vector2F, Int32, SimpleMeshGeneratorFace)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2023.1.2.0 (2023.1.2.0)
Syntax
C#
public static void GeneratePipe(
	int axis,
	double radius,
	double height,
	double thickness,
	int segments,
	int segmentsHeight,
	bool insideOut,
	out Vector3F[] positions,
	out Vector3F[] normals,
	out Vector4F[] tangents,
	out Vector2F[] texCoords,
	out int[] indices,
	out SimpleMeshGeneratorFace[] faces
)

Parameters

axis
Type: SystemInt32
radius
Type: SystemDouble
height
Type: SystemDouble
thickness
Type: SystemDouble
segments
Type: SystemInt32
segmentsHeight
Type: SystemInt32
insideOut
Type: SystemBoolean
positions
Type: NeoAxisVector3F
normals
Type: NeoAxisVector3F
tangents
Type: NeoAxisVector4F
texCoords
Type: NeoAxisVector2F
indices
Type: SystemInt32
faces
Type: NeoAxisSimpleMeshGeneratorFace
See Also