Click or drag to resize

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

Parameters

axis
Type: SystemInt32
size
Type: NeoAxisVector2F
segments
Type: NeoAxisVector2I
uvTilesPerUnit
Type: NeoAxisVector2F
uvTilesInTotal
Type: NeoAxisVector2F
uvOffset
Type: NeoAxisVector2F
positions
Type: NeoAxisVector3F
normals
Type: NeoAxisVector3F
tangents
Type: NeoAxisVector4F
texCoords
Type: NeoAxisVector2F
indices
Type: SystemInt32
faces
Type: NeoAxisSimpleMeshGeneratorFace
See Also