Microsoft SDK for Java

getPosition

This method of the Direct3dRMFrame Class retrieves the position of a frame, relative to the given reference frame. (For example, this method retrieves the distance of the frame from the reference.) The distance is stored in the position parameter as a vector, rather than as a linear measure.

Syntax

public void getPosition(Direct3dRMFrame ref, D3dVector position);

Parameters

ref The Direct3dRMFrame object to be used as the reference.
position The D3dVector object that receives the frame's position.

See Also

setPosition

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