GetLength - ObjectReference

Member of: ObjectReference Script

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

SyntaxEdit

float Function GetLength() native

ParametersEdit

None.

Return ValueEdit

The length of this object.

ExamplesEdit

Debug.Trace("The box is " + Box.GetLength() + " units long")

See AlsoEdit