GetEditorSize

Revision as of 11:27, 26 December 2014 by imported>QQuix (Added a note about how it is calculated)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(size:float) reference.GetEditorSize object:ref

Returns the value contained in the hidden 'size' field of the editor's object window for the specified object. This is a rough scalar approximation of the dimensions of the object. Return value is typically similar to that of GetBoundingRadius.

The game only calculates and stores this value for objects for which at least one reference exists in the game world.


Notes

  • Seems to be the average of the three dimensions of the mesh, i.e., ( width + depth + height ) / 3