GetObjectSize

From Onset Developer Wiki
Revision as of 11:27, 2 November 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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