GetWidth - ObjectReference
Revision as of 16:47, 21 October 2011 by imported>Plplecuyer (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...")
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")