GetObjectSize
From Onset Developer Wiki
Description
Returns size of the bounding box. (Maximum point - minimum point)
Syntax
GetObjectSize(object)
Parameters
- object
The object identifier.
Return Value
- Returns 3 floats containing the size of this objects model in all 3 dimensions.
Example
See example from the map editor on GitHub.
See also
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- EnableObjectHitEvents
- GetObjectMass
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture