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{float x,r;}
union{float y,g;}
union{float z,b;}
union{float w,z;}
Functions
xy
xyz