GetWidth - ObjectReference

Revision as of 17: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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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")

See AlsoEdit