GetWidth - ObjectReference
Member of: ObjectReference Script
Calculates and returns the width of this reference (distance between the bounding box min and max x values).
SyntaxEdit
float Function GetWidth() native
ParametersEdit
None.
Return ValueEdit
The width of this object.
ExamplesEdit
Debug.Trace("The box is " + Box.GetWidth() + " units wide")