Creates an instance of Vector3. *
Optionalx: number = 0The x-component. *
Optionaly: number = 0The y-component. *
Optionalz: number = 0The z-component.
Protected_Protected_Protected_Protected_The internal gl-matrix vector. * *
Gets the internal gl-matrix vector. *
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. *
Serializes the vector's state to a JSON object. * *
A class representing a 3D vector, backed by a gl-matrix vec3. *