Applications use the methods of the IDirect3DRMViewport interface to work with viewport objects. This section is a reference to the methods of this interface. For a conceptual overview, see IDirect3DRMViewport and IDirect3DRMViewportArray Interface.
The methods of the IDirect3DRMViewport interface can be organized into the following groups:
| Camera | GetCamera |
| SetCamera | |
| Clipping planes | GetBack |
| GetFront | |
| GetPlane | |
| SetBack | |
| SetFront | |
| SetPlane | |
| Dimensions | GetHeight |
| GetWidth | |
| Field of view | GetField |
| SetField | |
| Initialization | Init |
| Miscellaneous | Clear |
| Configure | |
| ForceUpdate | |
| GetDevice | |
| GetDirect3DViewport | |
| Pick | |
| Render | |
| Offsets | GetX |
| GetY | |
| Projection types | GetProjection |
| SetProjection | |
| Scaling | GetUniformScaling |
| SetUniformScaling | |
| Transformations | InverseTransform |
| Transform |
The IDirect3DRMViewport interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
AddRef
QueryInterface
Release
In addition, the IDirect3DRMViewport interface inherits the following methods from the IDirect3DRMObject interface:
The Direct3DRMViewport object is obtained by calling the IDirect3DRM::CreateViewport method.