Click or drag to resize

SimpleMeshGeneratorGeneratePolygonBasedPolyhedron Method (Vector3, Boolean, Double, Boolean, NullableVector3, Vector3F, Vector3F, Vector4F, Vector2F, Int32, SimpleMeshGeneratorFace)

Namespace:  NeoAxis
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public static void GeneratePolygonBasedPolyhedron(
	Vector3[] points,
	bool clockwise,
	double height,
	bool insideOut,
	Nullable<Vector3> normal,
	out Vector3F[] positions,
	out Vector3F[] normals,
	out Vector4F[] tangents,
	out Vector2F[] texCoords,
	out int[] indices,
	out SimpleMeshGeneratorFace[] faces
)

Parameters

points
Type: NeoAxisVector3
clockwise
Type: SystemBoolean
height
Type: SystemDouble
insideOut
Type: SystemBoolean
normal
Type: SystemNullableVector3
positions
Type: NeoAxisVector3F
normals
Type: NeoAxisVector3F
tangents
Type: NeoAxisVector4F
texCoords
Type: NeoAxisVector2F
indices
Type: SystemInt32
faces
Type: NeoAxisSimpleMeshGeneratorFace
See Also