GetObjectSize

From Onset Developer Wiki
GetObjectSize

Type: Function
Context: Client
Introduced: v1.0

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