SetObjectScale
From Onset Developer Wiki
Description
Set's the size scaling of the object.
Syntax
SetObjectScale(object, sx, sy, sz)
Parameters
- object
The object identifier - sx
The scale X axis - sy
The scale Y axis - sz
The scale Z axis
Return Value
- Returns true on success.
Example
SetObjectScale(objectId, 10.0, 10.0, 10.0)
See also
- SetObjectDimension
- GetObjectDimension
- SetObjectPropertyValue
- GetObjectPropertyValue
- CreateObject
- DestroyObject
- IsValidObject
- GetObjectCount
- SetObjectModel
- GetObjectModel
- IsObjectStreamedIn
- EnableObjectStreamEvents
- SetObjectStreamDistance
- SetObjectLocation
- GetObjectLocation
- SetObjectRotation
- GetObjectRotation
- SetObjectScale
- GetObjectScale
- SetObjectAttached
- SetObjectDetached
- IsObjectAttached
- GetObjectAttachmentInfo
- IsObjectMoving
- SetObjectMoveTo
- StopObjectMove
- SetObjectRotateAxis
- GetAllObjects