Mesh Data Builder
A builder for MeshData.
Constructors
MeshDataBuilder
Link copied to clipboard
Types
Face Vertex
Link copied to clipboard
data class FaceVertex(positionIndex: Int, texCoordIndex: Int, normalIndex: Int)
Content copied to clipboard
Indices for a single face vertex.
Functions
add Face
Link copied to clipboard
Adds another face to the mesh.
add Texture Coordinates
Link copied to clipboard
Adds another texture coordinates to the mesh.
Adds another texture coordinates to the mesh.
add Vertex
Link copied to clipboard
Adds another vertex position to the mesh.
Adds another vertex position to the mesh.
build Array Mesh Data
Link copied to clipboard
Builds a container for the array buffers data related to a single mesh, without indices.