89     void newQuat(
string quatName, 
float w, 
float x, 
float y, 
float z ); 
   110     void newQuatFromAngleAxis(
string quatName, 
float angleDegrees, 
float axisX, 
float axisY, 
float axisZ ); 
   128     float4 
getQuat( 
string quatName );  
   161     float4 
slerp( 
float rotProgress, 
float srcW, 
float srcX, 
float srcY, 
float srcZ, 
float destW, 
float destX, 
float destY, 
float destZ, 
int shortPath );
   180     float getYaw( 
string quatName, 
int degreeOrRadians);
   199     float getPitch( 
string quatName, 
int degreeOrRadians);
   218     float getRoll( 
string quatName, 
int degreeOrRadians);
   257     int getW(
string quatName);
   273     int getX(
string quatName);  
   288     int getY(
string quatName);
   303     int getZ(
string quatName);
   319     void setW( 
string quatName, 
float quatW );
   334     void setX( 
string quatName, 
float quatX );
   349     void setY( 
string quatName, 
float quatY );
   364     void setZ( 
string quatName, 
float quatZ );
   382     float4 
setQuatValues( 
string quatName, 
float w, 
float x, 
float y, 
float z );
   401     float4 
multiply( 
string quatName, 
string quatName2 );
   415     void inverse( 
string quatName);
   526     float4 
rotateOrientation( 
float degree, 
int axisX, 
int axisY, 
int axisZ, 
float rotW, 
float rotX, 
float rotY, 
float rotZ);
 float4 getXAxis_RotationTo(string quatName, float posX, float posY, float posZ)
get the rotation on the X Axis from a particular axis and position. 
 
void normalise(string quatName)
Normalise the Quaternion. 
 
float4 getYAxis_RotationTo(string quatName, float posX, float posY, float posZ)
get the rotation on the Y Axis from a particular axis and position. 
 
float4 multiply(string quatName, string quatName2)
Multiply two Quaternions Together. 
 
void setZ(string quatName, float quatZ)
Set the Z Component of the Quaternion Specified. 
 
void setW(string quatName, float quatW)
Set the W Component of the Quaternion Specified. 
 
float3 getRollPitchYaw(string quatName, int degreeOrRadians)
Returns Yaw, Pitch and Roll Values of the specified Quaternion. Either Return the Yaw in Degrees or R...
 
float4 getQuat(string quatName)
Return the Quaternion referenced by name into a float4. 
 
void setY(string quatName, float quatY)
Set the Y Component of the Quaternion Specified. 
 
int getZ(string quatName)
Get the Z Component of the Quaternion Specified. 
 
void inverse(string quatName)
Inverse the Quaternion. 
 
void setX(string quatName, float quatX)
Set the X Component of the Quaternion Specified. 
 
int getW(string quatName)
Get the W Component of the Quaternion Specified. 
 
void newQuatFromAngleAxis(string quatName, float angleDegrees, float axisX, float axisY, float axisZ)
Create a new Quaternion from an angle on a particular Axis. 
 
float4 getZAxis_RotationTo(string quatName, float posX, float posY, float posZ)
get the rotation on the Z Axis from a particular axis and position. 
 
Definition: LUA_API_Quaternion.h:67
 
void newQuat(string quatName, float w, float x, float y, float z)
Call this function and pass the arguments to create a new Quaternion. 
 
int getY(string quatName)
Get the Y Component of the Quaternion Specified. 
 
int getX(string quatName)
Get the X Component of the Quaternion Specified. 
 
float getPitch(string quatName, int degreeOrRadians)
Return the Pitch Value of the specified Quaternion. Either Return the Pitch in Degrees or Radians...
 
float getYaw(string quatName, int degreeOrRadians)
Return the Yaw Value of the specified Quaternion. Either Return the Yaw in Degrees or Radians...
 
float getRoll(string quatName, int degreeOrRadians)
Return the Roll Value of the specified Quaternion. Either Return the Roll in Degrees or Radians...
 
float4 rotateOrientation(float degree, int axisX, int axisY, int axisZ, float rotW, float rotX, float rotY, float rotZ)
rotate a quaternion orientation passed in by a certain degree on the specific axis This will allow yo...
 
float4 slerp(float rotProgress, float srcW, float srcX, float srcY, float srcZ, float destW, float destX, float destY, float destZ, int shortPath)
Call this function to create smooth rotations between a source rotation and a destination rotation ov...
 
float4 setQuatValues(string quatName, float w, float x, float y, float z)
Set all 4 Quaternion Components to the Quaternion specified.