Documentation
›
API Reference
›
Object
›
Math
Vec4
Lua
C++
The Vec4 class defines a four-dimensional vector. This class is often used to define RGBA colors.
Members
union{number x,r;}
union{number y,g;}
union{number z,b;}
union{number w,z;}
Functions
xy
xyz