GetObjectDimension: Difference between revisions

From Onset Developer Wiki
(Created page with "{{Info|Function|Server|1.0}} {{FuncDescription|Gets the dimension of this object.}} {{FuncSyntax|GetObjectDimension(object)}} {{FuncParameters}} {{FuncParam|object|The obje...")
 
No edit summary
 
Line 11: Line 11:


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua>
print("Object Dimension: " .. GetObjectDimension(object))
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
* [[GetObjectModelCount]]
* [[GetObjectModelGroup]]
* [[GetObjectModelName]]
* [[GetStreamedObjects]]
* [[GetObjectModel]]
* [[GetObjectLocation]]
* [[GetObjectRotation]]
* [[GetObjectScale]]
* [[GetObjectBoundingBox]]
* [[GetObjectSize]]
* [[EnableObjectHitEvents]]
* [[GetObjectMass]]
* [[SetObjectEditorSpeed]]
* [[SetObjectEditable]]
* [[SetObjectOutline]]
* [[SetObjectCastShadow]]
* [[SetObjectColor]]
* [[SetObjectEmissiveColor]]
* [[SetObjectTexture]]
* [[SetObjectAnimatedTexture]]

Latest revision as of 14:28, 26 June 2021

GetObjectDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Gets the dimension of this object.

Syntax

GetObjectDimension(object)

Parameters

  • object
    The object identifier.

Return Value

  • Returns the dimension.

Example

print("Object Dimension: " .. GetObjectDimension(object))

See also