The Direct3dRMViewport Class contains the following methods:
clear clears the given viewport to the current background color.
configure reconfigures the viewport origin and dimensions.
forceUpdate forces an area of the viewport to be updated.
getBack retrieves the position of the viewport back clipping plane.
getCamera retrieves the camera for a viewport.
getDevice retrieves the device associated with a viewport.
getDirect3DViewport retrieves the Microsoft® Direct3D® viewport corresponding to the current Direct3dRMViewport object.
getField retrieves the viewport's field of view.
getFront retrieves the position of the viewport's front clipping plane.
getHeight retrieves the height (measured in pixels) of the viewport.
getPlane retrieves the dimensions of the viewport on the front clipping plane.
getProjection retrieves the viewport's projection type. A viewport can use either orthographic or perspective projection.
getUniformScaling retrieves the scaling property used to scale the viewing volume into the larger dimension of the window.
getWidth retrieves the width (measured in pixels) of the viewport.
getX retrieves the x-offset of the start of the viewport on a device.
getY retrieves the y-offset of the start of the viewport on a device.
inverseTransform transforms the vector in the s parameter (measured in screen coordinates) to world coordinates and returns the result in the d parameter.
pick finds a depth-sorted list of objects (and faces, if relevant) that includes the path taken in the hierarchy, from the root down to the frame that contained the object.
render renders a frame hierarchy to the given viewport.
setBack sets the position of the back clipping plane for a viewport.
setCamera sets a camera for a viewport.
setField sets the viewport field of view.
setFront sets the position of the front clipping plane for a viewport.
setPlane sets the dimensions of the viewport on the front clipping plane, relative to the camera's z-axis.
setProjection sets the viewport projection.
setUniformScaling sets the scaling property used to scale the viewing volume into the larger dimension of the window.
transform transforms the vector in the s parameter (measured in world coordinates) to screen coordinates and returns the result in the d parameter.