Struct Vector3

Vector3 is one of the core classes of the engine, and includes several built-in helper functions to perform basic vector math operations.

struct Vector3 ;

Fields

NameTypeDescription
x float
y float
z float

Methods

NameDescription
opDispatch Swizzle the vector with x, y, z, or n. Pass floats as args for any n's; if there are more n's than args, the last arg is used for the rest. If no args are passed at all, 0.0 is used for each n.