GetWidth - ObjectReference

From the Fallout4 CreationKit Wiki
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...")
(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]