Click or drag to resize

SimpleMeshGeneratorGenerateSegmentedPlane Method (Int32, Vector2, Vector2I, Vector2, Vector2, Vector2, Vector3, Vector3, Vector4, Vector2, 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 GenerateSegmentedPlane(
	int axis,
	Vector2 size,
	Vector2I segments,
	Vector2 uvTilesPerUnit,
	Vector2 uvTilesInTotal,
	Vector2 uvOffset,
	out Vector3[] positions,
	out Vector3[] normals,
	out Vector4[] tangents,
	out Vector2[] texCoords,
	out int[] indices,
	out SimpleMeshGeneratorFace[] faces
)

Parameters

axis
Type: SystemInt32
size
Type: NeoAxisVector2
segments
Type: NeoAxisVector2I
uvTilesPerUnit
Type: NeoAxisVector2
uvTilesInTotal
Type: NeoAxisVector2
uvOffset
Type: NeoAxisVector2
positions
Type: NeoAxisVector3
normals
Type: NeoAxisVector3
tangents
Type: NeoAxisVector4
texCoords
Type: NeoAxisVector2
indices
Type: SystemInt32
faces
Type: NeoAxisSimpleMeshGeneratorFace
See Also