Microsoft SDK for Java

setCamera

This method of the Direct3dRMViewport Class sets a camera for a viewport.

Syntax

public void setCamera(Direct3dRMFrame f);

Parameters

f The Direct3dRMFrame object that represents the camera.

Remarks

This method sets viewport position, direction, and orientation to that of the given camera frame. The view is oriented along the positive z-axis of the camera frame, with the up direction being that of the positive y-axis.

See Also

getCamera

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