QQuaternion Class Reference
Constructor
- void QQuaternion()
- void QQuaternion(QVector4D vector)
- void QQuaternion(float scalar, QVector3D vector)
- void QQuaternion(float scalar, float xpos, float ypos, float zpos)
Constructor Properties
- prototype: The QQuaternion prototype object
- QQuaternion fromAxisAndAngle(QVector3D axis, float angle)
- QQuaternion nlerp(QQuaternion q1, QQuaternion q2, float t)
- QQuaternion slerp(QQuaternion q1, QQuaternion q2, float t)
Prototype Object Properties
- QQuaternion conjugate()
- bool isIdentity()
- bool isNull()
- float length()
- float lengthSquared()
- void normalize()
- QQuaternion normalized()
- QQuaternion operator_add_assign(QQuaternion quaternion)
- QQuaternion operator_divide_assign(float divisor)
- bool operator_equal(QQuaternion q2)
- QQuaternion operator_multiply_assign(QQuaternion quaternion)
- QQuaternion operator_subtract_assign(QQuaternion quaternion)
- QVector3D rotatedVector(QVector3D vector)
- float scalar()
- void setScalar(float scalar)
- void setVector(QVector3D vector)
- void setX(float x)
- void setY(float y)
- void setZ(float z)
- QVector4D toVector4D()
- QVector3D vector()
- float x()
- float y()
- float z()
Instance Properties
QQuaternion objects have no special properties beyond those inherited from the QQuaternion prototype object.