GetObjectSize

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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