AssetMesh
ReferencesA minimal mesh type used for fully unwelded model shapes. This type only stores vertices and faces.
Constructors
Properties
Methods
AppendToMesh
#Append this mesh to an existing mesh. This method will append vertices, faces and colours, but it will not adjust normals.
Parameters:
| mesh (Mesh) | Mesh to append to. |
| colour (Color) | Mono colour to assign to all new vertices. |
Transform
#Create a new flat mesh part by transforming this part.
Parameters:
| matrix (Transform) | Linear transform to apply. |
Returns: Modified mesh part.
Translate
#Create a new flat mesh part by translating this part.
Parameters:
| motion (Vector3f) | Linear motion to apply. |
Returns: Modified mesh part.