Microsoft SDK for Java

lookAt

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.

Syntax

public void lookAt(Direct3dRMFrame tgt, Direct3dRMFrame ref, int val);

Parameters

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.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.