IDirect3DRMFrame3

Applications use the methods of the IDirect3DRMFrame3 interface to interact with frames—an object's frame of reference. For a conceptual overview, see Frames.

The IDirect3DRMFrame3 interface is an extension of the IDirect3DRMFrame2 interface. IDirect3DRMFrame3 provides methods that enable additional transformation capabilities, setting and retrieving traversal options, and setting and retrieving the scene fogging method.

IDirect3DRMFrame2 builds upon the functionality of IDirect3DRMFrame by providing additional methods that enable using materials, bounding boxes, and axes with frames. IDirect3DRMFrame2 also adds a RayPick method to calculate the intersections of visuals in the frame with a ray of specified position and direction. In addition, IDirect3DRMFrame2 has one changed method AddMoveCallback2.

See Interface Changes for a list of all the methods added by each interface.

The methods of the IDirect3DRMFrame3 interface can be organized into the following groups:

Axes GetAxes
GetInheritAxes
SetAxes
SetInheritAxes
Background GetSceneBackground
GetSceneBackgroundDepth
SetSceneBackground
SetSceneBackgroundDepth
SetSceneBackgroundImage (obsolete)
SetSceneBackgroundRGB
Bounding Box GetBox
GetBoxEnable
GetHierarchyBox
SetBox
SetBoxEnable
Color GetColor
SetColor
SetColorRGB
Fog GetSceneFogColor
GetSceneFogEnable
GetSceneFogMethod
GetSceneFogMode
GetSceneFogParams
SetSceneFogColor
SetSceneFogEnable
SetSceneFogMethod
SetSceneFogMode
SetSceneFogParams
Hierarchies AddChild
DeleteChild
GetChildren
GetParent
GetScene
Lighting AddLight
DeleteLight
GetLights
Loading Load
Material GetMaterial
GetMaterialOverride
SetMaterial
SetMaterialOverride
Material modes GetMaterialMode
SetMaterialMode
Positioning and movement AddMoveCallback
AddRotation
AddScale
AddTranslation
DeleteMoveCallback
GetOrientation
GetPosition
GetRotation
GetVelocity
LookAt
Move
SetOrientation
SetPosition
SetQuaternion
SetRotation
SetVelocity
Ray Picking RayPick
Sorting GetSortMode
GetZbufferMode
SetSortMode
SetZbufferMode
Textures GetTexture
SetTexture
Transformations AddTransform
GetTransform
InverseTransform
InverseTransformVectors
Transform
TransformVectors
Traversal GetTraversalOptions
SetTraversalOptions
Visual objects AddVisual
DeleteVisual
GetVisuals

The IDirect3DRMFrame3 interface, like all Component Object Model (COM) interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:
AddRef
QueryInterface
Release

In addition, the IDirect3DRMFrame3 interface inherits the following methods from the IDirect3DRMObject interface:
AddDestroyCallback
Clone
DeleteDestroyCallback
GetAppData
GetClassName
GetName
SetAppData
SetName

Obtain the Direct3DRMFrame3 object by using the IDirect3DRM3::CreateFrame method.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.