IDirect3DRMViewport::SetBack

Sets the position of the back clipping plane for a viewport.

HRESULT SetBack(
D3DVALUE rvBack
);

Parameters

rvBack

Distance between the camera and the back clipping plane.

Return Values

Returns D3DRM_OK if successful, or an error otherwise. For a list of possible return codes, see Direct3D Retained-Mode Return Values.

Remarks

This method is also used to add a back clipping plane position key to a Direct3DRMViewportInterpolator object.

See Also

IDirect3DRMViewport::GetBack, IDirect3DRMViewport::SetFront, Viewing Frustum