Lua
C++
Edit

Vec4

This class describes a four-dimensional vector or an RGBA color.

Property Type Description
x, r float x component of the vector, or red channel of color
y, g float y component of the vector, or green channel of color
z, b float z component of the vector, or blue channel of color
w, a float w component of the vector, or alpha channel of color
Vec4 Constructor Vec4(const float x)
Vec4 Constructor Vec4(const float x, const float y)
Vec4 Constructor Vec4(const float x, const float y, const float z)
Vec4 Constructor Vec4(const float x, const float y, const float z, const float w)
Vec4 Constructor Vec4(const Vec3& v, const float w)
Copyright © 2024 Ultra Software.
All rights reserved.