This method of the Direct3dRMFrame Class sets a frame rotating by the given angle around the given vector at each call to the tick or move method. The direction vector [x, y, z] is defined in the reference frame.
public void setRotation(Direct3dRMFrame reference, float x, float y, float z, float theta);
reference | The Direct3dRMFrame object to be used as the reference. |
x | The x element of the vector, about which rotation occurs. |
y | The y element of the vector, about which rotation occurs. |
z | The z element of the vector, about which rotation occurs. |
theta | The rotation angle, in radians. |
The specified rotation changes the matrix with every render tick, unlike the addRotation method, which changes the objects in the frame only once.