Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Vector3

class in Math

Properties

NameTypeAccessDescription
xfloatget / set
yfloatget / set
zfloatget / set

Methods

Return TypeSignatureDescription
Vector3mul ( float o )
Vector3add ( Vector3 o )
Vector3normalize ( )
Vector3sub ( Vector3 o )
floatmagnitude ( )
voidnormalize_inplace ( )

Static Properties

NameTypeAccessDescription
XVector3get
YVector3get
ZVector3get
ZEROVector3get

Static Methods

Return TypeSignatureDescription
Vector3new ( float x, float y, float z )