Method GetRotation
GetRotation()
Returns the current state's rotation. If there is no change in the rotation, then it will return identity.
Declaration
public Quaternion GetRotation()
Returns
Type | Description |
---|---|
Quaternion |
Remarks
When there is no change in an updated state's rotation then there are no values to return. Checking for HasRotAngleChange is one way to detect this.