SimpleMeshGeneratorGeneratePlane(Vector2, Vector2, Vector2, Vector2, Vector3, Vector3, Vector4, Vector2, Int32, SimpleMeshGeneratorFace) Method |
Namespace: NeoAxisAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntaxpublic static void GeneratePlane(
Vector2 size,
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
- size Vector2
-
- uvTilesPerUnit Vector2
-
- uvTilesInTotal Vector2
-
- uvOffset Vector2
-
- positions Vector3
-
- normals Vector3
-
- tangents Vector4
-
- texCoords Vector2
-
- indices Int32
-
- faces SimpleMeshGeneratorFace
-
See Also