Vec4

A vector with 4 components: x, y, z, and w. Can be useful for things like shaders, where the registers are aligned to 4 float vectors.

Instance Fields and Properties

   
float w Vector components.
float x Vector components.
float y Vector components.
float z Vector components.

Instance Methods

   
Vec4 A basic constructor, just copies the values in!