Creates an instance of Vector4. *
Optionalx: number = 0The x-component. *
Optionaly: number = 0The y-component. *
Optionalz: number = 0The z-component. *
Optionalw: number = 0The w-component.
Protected_Protected_Protected_Protected_The internal gl-matrix vector. * *
Gets the internal gl-matrix vector. *
Gets the w-component of the vector. *
Sets the w-component of the vector. *
The new value for the w-component.
Gets the x-component of the vector. *
Sets the x-component of the vector. *
The new value for the x-component.
Gets the y-component of the vector. *
Sets the y-component of the vector. *
The new value for the y-component.
Gets the z-component of the vector. *
Sets the z-component of the vector. *
The new value for the z-component.
StaticclassProtecteddeserializeDeserializes the vector's state from a JSON object. * *
The JSON object to deserialize from. *
ProtectedgetProtectedserializeSets the components of the vector. * *
Optionalx: number = 0The new x-component. *
Optionaly: number = 0The new y-component. *
Optionalz: number = 0The new z-component. *
Optionalw: number = 0The new w-component. *
Serializes the vector's state to a JSON object. * *
A class representing a 4D vector, backed by a gl-matrix vec4. *