GetWidth - ObjectReference

From the CreationKit Wiki
Revision as of 17:47, 21 October 2011 by imported>Jlundin (Created page with "Category:Scripting Category:Papyrus '''Member of:''' ObjectReference Script Calculates and returns the width of this reference (distance between the bounding box min...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Calculates and returns the width of this reference (distance between the bounding box min and max x values).

Syntax[edit | edit source]

float Function GetWidth() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The width of this object.

Examples[edit | edit source]

Debug.Trace("The box is " + Box.GetWidth() + " units wide")

See Also[edit | edit source]