Assimp  v3.1.1 (June 2014)
jassimp.AiQuaternion Class Reference

Wrapper for a quaternion. More...

Public Member Functions

 AiQuaternion (ByteBuffer buffer, int offset)
 Constructor. More...
 
float getW ()
 Returns the w value. More...
 
float getX ()
 Returns the x value. More...
 
float getY ()
 Returns the y value. More...
 
float getZ ()
 Returns the z value. More...
 
void setW (float w)
 Sets the z component. More...
 
void setX (float x)
 Sets the x component. More...
 
void setY (float y)
 Sets the y component. More...
 
void setZ (float z)
 Sets the z component. More...
 
String toString ()
 

Detailed Description

Wrapper for a quaternion.

The wrapper is writable, i.e., changes performed via the set-methods will modify the underlying mesh/animation.

Constructor & Destructor Documentation

§ AiQuaternion()

jassimp.AiQuaternion.AiQuaternion ( ByteBuffer  buffer,
int  offset 
)
inline

Constructor.

Parameters
bufferthe buffer to wrap
offsetoffset into buffer

Member Function Documentation

§ getW()

float jassimp.AiQuaternion.getW ( )
inline

Returns the w value.

Returns
the w value

§ getX()

float jassimp.AiQuaternion.getX ( )
inline

Returns the x value.

Returns
the x value

§ getY()

float jassimp.AiQuaternion.getY ( )
inline

Returns the y value.

Returns
the y value

§ getZ()

float jassimp.AiQuaternion.getZ ( )
inline

Returns the z value.

Returns
the z value

§ setW()

void jassimp.AiQuaternion.setW ( float  w)
inline

Sets the z component.

Parameters
wthe new value

§ setX()

void jassimp.AiQuaternion.setX ( float  x)
inline

Sets the x component.

Parameters
xthe new value

§ setY()

void jassimp.AiQuaternion.setY ( float  y)
inline

Sets the y component.

Parameters
ythe new value

§ setZ()

void jassimp.AiQuaternion.setZ ( float  z)
inline

Sets the z component.

Parameters
zthe new value

§ toString()

String jassimp.AiQuaternion.toString ( )
inline

The documentation for this class was generated from the following file: