IDirect3DRMFrame3

アプリケーションは、IDirect3DRMFrame3インターフェイスのメソッドを使用してオブジェクトの参照フレームと対話する。この概念の概要については、「フレーム」を参照すること。

IDirect3DRMFrame3インターフェイスは、IDirect3DRMFrame2インターフェイスの拡張である。IDirect3DRMFrame3は、追加変換機能、横断オプションのセットと取り出し、シーンフォグメソッドのセットと取り出しを可能にするメソッドを提供する。

IDirect3DRMFrame2は、マテリアル、境界ボックス、フレーム付きの軸を有効にする追加メソッドを提供することで、IDirect3DRMFrame機能を構築する。IDirect3DRMFrame2は、指定の位置と方向の光線とフレーム中のビジュアルの交点を計算するためのRayPickメソッドも追加された。さらに、IDirect3DRMFrame2には、変更されたメソッドAddMoveCallback2が含まれている。

各インターフェイスにより追加されたすべてのメソッドのリストについては、「インターフェイスの変更点」を参照すること。

IDirect3DRMFrame3インターフェイスのメソッドは、以下のグループにまとめることができる。

GetAxes
GetInheritAxes
SetAxes
SetInheritAxes
背景 GetSceneBackground
GetSceneBackgroundDepth
SetSceneBackground
SetSceneBackgroundDepth
SetSceneBackgroundImage
SetSceneBackgroundRGB
境界ボックス GetBox
GetBoxEnable
GetHierarchyBox
SetBox
SetBoxEnable
GetColor
SetColor
SetColorRGB
フォグ GetSceneFogColor
GetSceneFogEnable
GetSceneFogMethod
GetSceneFogMode
GetSceneFogParams
SetSceneFogColor
SetSceneFogEnable
SetSceneFogMethod
SetSceneFogMode
SetSceneFogParams
階層 AddChild
DeleteChild
GetChildren
GetParent
GetScene
照明 AddLight
DeleteLight
GetLights
ロード Load
マテリアル GetMaterial
GetMaterialOverride
SetMaterial
SetMaterialOverride
マテリアルモード GetMaterialMode
SetMaterialMode
位置指定と運動 AddMoveCallback
AddRotation
AddScale
AddTranslation
DeleteMoveCallback
GetOrientation
GetPosition
GetRotation
GetVelocity
LookAt
Move
SetOrientation
SetPosition
SetQuaternion
SetRotation
SetVelocity
光線ピック RayPick
ソート GetSortMode
GetZbufferMode
SetSortMode
SetZbufferMode
テクスチャ GetTexture
SetTexture
変換 AddTransform
GetTransform
InverseTransform
InverseTransformVectors
Transform
TransformVectors
横断 GetTraversalOptions
SetTraversalOptions
ビジュアルオブジェクト AddVisual
DeleteVisual
GetVisuals

すべてのCOMインターフェイスと同様、IDirect3DRMFrame3インターフェイスはIUnknownインターフェイスメソッドを継承する。IUnknownインターフェイスは、以下の3つのメソッドをサポートする。
AddRef
QueryInterface
Release

さらに、IDirect3DRMFrame3インターフェイスは、IDirect3DRMObjectインターフェイスから以下のメソッドを継承する。
AddDestroyCallback
Clone
DeleteDestroyCallback
GetAppData
GetClassName
GetName
SetAppData
SetName

Direct3DRMFrame3オブジェクトは、IDirect3DRM3::CreateFrameメソッドを呼び出すことによって取得される。


トップに戻る トップに戻る
© 1999 Microsoft and/or its suppliers. All rights reserved. Terms of Use.