This method of the Direct3dRMFrame Class faces the frame toward the target frame (relative to the given reference frame) and locks the rotation by the given constraints.
public void lookAt(Direct3dRMFrame tgt, Direct3dRMFrame ref, int val);
tgt | The Direct3dRMFrame objects to be used as the target. |
ref | The Direct3dRMFrame objects to be used as the reference. |
val | The value of frame constraint type that specifies the axis of rotation constrained. |