GetObjectMass: Difference between revisions
From Onset Developer Wiki
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Gets the mass of this object. This is an automatically calculated approximation.}} | ||
{{FuncSyntax|GetObjectMass(object)}} | {{FuncSyntax|GetObjectMass(object)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|object| | {{FuncParam|object|The object identifier.}} | ||
{{FuncReturnValue| | {{FuncReturnValue|Returns the mass as a float (kg)}} | ||
== Example == | == Example == |
Latest revision as of 20:00, 30 August 2020
Description
Gets the mass of this object. This is an automatically calculated approximation.
Syntax
GetObjectMass(object)
Parameters
- object
The object identifier.
Return Value
- Returns the mass as a float (kg)
Example
__EDIT_ME__
See also
- GetObjectCount
- GetObjectModelCount
- GetObjectModelGroup
- GetObjectModelName
- GetStreamedObjects
- GetObjectModel
- GetObjectLocation
- GetObjectRotation
- GetObjectScale
- GetObjectBoundingBox
- GetObjectSize
- EnableObjectHitEvents
- SetObjectEditorSpeed
- SetObjectEditable
- SetObjectOutline
- SetObjectCastShadow
- SetObjectColor
- SetObjectEmissiveColor
- SetObjectTexture
- SetObjectAnimatedTexture