- Documentation
- Client functions
- setMeshObjectScale
Function
setMeshObjectScale
Scales a model object: with one number or separately on three axes.
Syntax
bool setMeshObjectScale(meshobject meshObject, float sx [, float sy, float sz])Arguments
meshObjectmeshobject- The object.
sxfloat- X scale (or the whole).
syfloat, optional- Y scale.
szfloat, optional- Z scale.
Returns
true on success.
Example
setMeshObjectScale(statue, 2)