Lua API: every module and type
Mesh
A value the API hands your plugin; call its methods to read or change it.
Where it is used
Methods
#translate
methodmesh:translate(x: number, y: number, z: number)Translates the mesh in 3D space by the given offsets.
Parameters
xnumber- The X offset.
ynumber- The Y offset.
znumber- The Z offset.
Returns
Nothing.
#bounds
methodmesh:bounds() → BoundingBoxCalculates and returns the bounding box of the mesh.
Returns
- BoundingBox
bounds - The computed bounding box.