IDirect3DRMFrame2

The IDirect3DRMFrame2 interface is an extension of the IDirect3DRMFrame interface. IDirect3DRMFrame2 has new methods that enable using materials, bounding boxes, and axes with frames. IDirect3DRMFrame2 also has a IDirect3DRMFrame2::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 IDirect3DRMFrame2::AddMoveCallback2.

For a conceptual overview, see IDirect3DRMFrame, IDirect3DRMFrame2, and IDirect3DRMFrameArray Interfaces.

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

Axes GetAxes
  GetInheritAxes
  SetAxes
  SetInheritAxes
Background GetSceneBackground
  GetSceneBackgroundDepth
  SetSceneBackground
  SetSceneBackgroundDepth
  SetSceneBackgroundImage
  SetSceneBackgroundRGB
Bounding Box GetBox
  GetBoxEnable
  GetHierarchyBox
  SetBox
  SetBoxEnable
Color GetColor
  SetColor
  SetColorRGB
Fog GetSceneFogColor
  GetSceneFogEnable
  GetSceneFogMode
  GetSceneFogParams
  SetSceneFogColor
  SetSceneFogEnable
  SetSceneFogMode
  SetSceneFogParams
Hierarchies AddChild
  DeleteChild
  GetChildren
  GetParent
  GetScene
Lighting AddLight
  DeleteLight
  GetLights
Loading Load
Material GetMaterial
  SetMaterial
Material modes GetMaterialMode
  SetMaterialMode
Positioning and movement AddMoveCallback2
  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
  GetTextureTopology
  SetTexture
  SetTextureTopology
Transformations AddTransform
  GetTransform
  InverseTransform
  Transform
Visual objects AddVisual
  DeleteVisual
  GetVisuals

The IDirect3DRMFrame2 interface, like all COM interfaces, inherits the IUnknown interface methods. The IUnknown interface supports the following three methods:

AddRef

QueryInterface

Release

In addition, the IDirect3DRMFrame2 interface inherits the following methods from the IDirect3DRMObject interface:

AddDestroyCallback

Clone

DeleteDestroyCallback

GetAppData

GetClassName

GetName

SetAppData

SetName

The Direct3DRMFrame2 object is obtained by calling the IDirect3DRM2::CreateFrame method.