CompoundMeshData
class CompoundMeshData(val vertexData: VertexData, val compounds: Map<String, MeshData>) : ICompoundMeshData(source)
Represents a compound mesh data structure containing multiple named sub-meshes and their associated shared vertex data. This class allows manipulation of grouped meshes as a single entity and provides methods for operations like triangulation and converting the meshes to a single data structure.
Functions
Link copied to clipboard
Link copied to clipboard
Converts the compound mesh data into a map of polygons grouped by their compound names.
Link copied to clipboard
Converts the compound mesh data into a single VertexBuffer for rendering.
Link copied to clipboard
Link copied to clipboard
Generates a wireframe representation of the compound mesh data.