MutableCompoundMeshData
class MutableCompoundMeshData(val vertexData: MutableVertexData, val compounds: MutableMap<String, MutableMeshData>) : ICompoundMeshData(source)
A mutable implementation of a compound mesh data structure, combining vertex data and a set of named mesh compounds.
This class allows the manipulation of multiple meshes grouped under named compounds, while sharing a common vertex data structure. It supports operations such as triangulation and conversion to a unified mesh representation.
Properties
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.