ランタイム
|
コンパウンドシェイプインターフェース More...
#include <ICompoundShape.h>
Public Member Functions | |
virtual Boolean | AddChild (Mix::Dynamics::IShape *pShape, const Mix::Quaternion &rot, const Mix::Vector3 &pos)=0 |
子を追加します More... | |
virtual UInt32 | RemoveChild (Mix::Dynamics::IShape *pShape)=0 |
子を削除します More... | |
virtual Boolean | RemoveChildByIndex (UInt32 index)=0 |
子を削除します More... | |
virtual Boolean | GetChildByIndex (UInt32 index, Mix::Dynamics::IShape **ppShape)=0 |
子を取得します More... | |
virtual Mix::Dynamics::IShape * | GetChildPtrByIndex (UInt32 index) const =0 |
子のポインタを取得します More... | |
virtual Boolean | GetChildTransformByIndex (UInt32 index, Mix::Quaternion &rot, Mix::Vector3 &pos)=0 |
子の位置、回転姿勢を取得します More... | |
virtual Boolean | SetChildTransformByIndex (UInt32 index, const Mix::Quaternion &rot, const Mix::Vector3 &pos)=0 |
子の位置と回転姿勢を更新します More... | |
virtual UInt32 | GetChildCount (void) const =0 |
子の数を取得します More... | |
![]() | |
virtual Mix::Dynamics::IShape::TYPE | GetType (void) const =0 |
シェイプの種類を取得します More... | |
virtual Float32 | GetMargin (void) const =0 |
衝突マージンを取得します More... | |
virtual void | SetMargin (Float32 margin)=0 |
衝突マージンを設定します More... | |
virtual void | DebugDraw (Mix::Graphics::Utility::IPerspectiveRenderer *pPerspectiveRenderer)=0 |
デバッグ描画をします More... | |
![]() | |
void | AddRef (void) |
参照数を 1 増やします More... | |
void | Release (void) |
参照数を 1 減らします More... | |
Long32 | GetRefCount (void) |
参照数を取得します More... | |
Protected Member Functions | |
virtual | ~ICompoundShape (void) |
デストラクタ More... | |
![]() | |
virtual | ~IShape (void) |
デストラクタ More... | |
![]() | |
MIX_DECLARE_ALLOCATOR () | |
Reference (void) | |
コンストラクタ More... | |
Reference (Long32 count) | |
コンストラクタ More... | |
virtual | ~Reference (void) |
デストラクタ More... | |
Additional Inherited Members | |
![]() | |
enum | TYPE { BOX = 0, CAPSULE = 1, COMPOUND = 2, CONE = 3, CONVEXHULL = 4, CYLINDER = 5, SPHERE = 6 } |
タイプ列挙定数 More... | |
コンパウンドシェイプインターフェース
|
inlineprotectedvirtual |
デストラクタ
|
pure virtual |
子を追加します
[in] | pShape | 追加するシェイプを表す Mix::Dynamics::IShape インターフェースのポインタ |
[in] | rot | 回転を表す Mix::Quaternion クラス |
[in] | pos | 位置を表す Mix::Vector3 クラス |
|
pure virtual |
子を削除します
[in] | index | 削除する子のインデックス |
|
pure virtual |
子を取得します
[in] | index | 子のインデックス |
[out] | ppShape | 取得した子を表す Mix::Dynamics::IShape インターフェースのポインタのアドレス |
|
pure virtual |
子のポインタを取得します
[in] | index | 子のインデックス |
|
pure virtual |
子の位置、回転姿勢を取得します
[in] | index | 子のインデックス |
[in] | rot | 回転を表す Mix::Quaternion クラス |
[in] | pos | 位置を表す Mix::Vector3 クラス |
|
pure virtual |
子の位置と回転姿勢を更新します
[in] | index | 子のインデックス |
[in] | rot | 回転を表す Mix::Quaternion クラス |
[in] | pos | 位置を表す Mix::Vector3 クラス |
|
pure virtual |
子の数を取得します