ランタイム
|
リジッドボディインターフェース More...
#include <IRigidBody.h>
Public Types | |
enum | STATUS { DEFAULT = 0, STATIC = 1, KINEMATIC = 2 } |
ステータス列挙定数 More... | |
![]() | |
enum | TYPE { STATIC_PLANE = 0, STATIC_MESH = 1, RIGIDBODY = 2, SENSOR = 3, KINEMATIC_CHARACTER = 4, VEHICLE = 5 } |
タイプ列挙定数 More... | |
Public Member Functions | |
virtual Boolean | IsSimulationEnabled (void) const =0 |
シミュレーションが有効かどうかを取得します More... | |
virtual void | SetSimulationEnabled (Boolean state)=0 |
シミュレーションを有効にするかどうかを設定します More... | |
virtual Float32 | GetMass (void) const =0 |
質量を取得します More... | |
virtual void | SetMass (Float32 mass)=0 |
質量を設定します More... | |
virtual Mix::Dynamics::IRigidBody::STATUS | GetStatus (void) const =0 |
状態を取得します More... | |
virtual Boolean | SetStatus (Mix::Dynamics::IRigidBody::STATUS status)=0 |
状態を設定します More... | |
virtual Boolean | IsAlwaysActive (void) const =0 |
活動設定を取得します More... | |
virtual Boolean | SetAlwaysActive (Boolean state)=0 |
活動設定をします More... | |
virtual Boolean | IsActive (void) const =0 |
活動状態を取得します More... | |
virtual Boolean | Activate (void)=0 |
活動状態にします More... | |
virtual Boolean | Deactivate (Boolean bFroce=False)=0 |
非活動状態にします More... | |
virtual Mix::Vector3 | GetLinearFactor (void) const =0 |
移動のファクタを設定します More... | |
virtual void | SetLinearFactor (const Mix::Vector3 &factor)=0 |
移動のファクタを設定します More... | |
virtual Float32 | GetLinearDamping (void) const =0 |
移動の減衰値を取得します More... | |
virtual void | SetLinearDamping (Float32 damping)=0 |
移動の減衰値を設定します More... | |
virtual Mix::Vector3 | GetLinearVelocity (void)=0 |
移動速度を取得します More... | |
virtual Boolean | SetLinearVelocity (const Mix::Vector3 &velocity)=0 |
移動速度を設定します More... | |
virtual Float32 | GetLinearSleepingThresholds (void) const =0 |
移動を停止する速度を取得します More... | |
virtual void | SetLinearSleepingThresholds (Float32 thresholds)=0 |
移動を停止する速度を設定します More... | |
virtual Mix::Vector3 | GetAngularFactor (void) const =0 |
回転のファクタを設定します More... | |
virtual void | SetAngularFactor (const Mix::Vector3 &factor)=0 |
回転のファクタを設定します More... | |
virtual Float32 | GetAngularDamping (void) const =0 |
回転の減衰値を取得します More... | |
virtual void | SetAngularDamping (Float32 damping)=0 |
回転の減衰値を設定します More... | |
virtual Mix::Vector3 | GetAngularVelocity (void)=0 |
回転速度を取得します More... | |
virtual Boolean | SetAngularVelocity (const Mix::Vector3 &velocity)=0 |
回転速度を設定します More... | |
virtual Float32 | GetAngularSleepingThresholds (void) const =0 |
回転を停止する速度を取得します More... | |
virtual void | SetAngularSleepingThresholds (Float32 thresholds)=0 |
回転を停止する速度を設定します More... | |
virtual Boolean | ApplyLinearImpulse (const Mix::Vector3 &impulse)=0 |
移動に撃力を適用します More... | |
virtual Boolean | ApplyAngularImpulse (const Mix::Vector3 &impulse)=0 |
回転に撃力を適用します More... | |
virtual Boolean | ApplyImpulse (const Mix::Vector3 &impulse, const Mix::Vector3 &pos)=0 |
指定した位置に撃力を適用します More... | |
virtual Mix::Vector3 | GetTotalLinearForce (void)=0 |
移動に適用されている力を取得します More... | |
virtual Mix::Vector3 | GetTotalAngularForce (void)=0 |
回転に適用されている力を取得します More... | |
virtual Boolean | ApplyLinearForce (const Mix::Vector3 &force)=0 |
移動に力を適用します More... | |
virtual Boolean | ApplyAngularForce (const Mix::Vector3 &force)=0 |
回転に力を適用します More... | |
virtual Boolean | ApplyForce (const Mix::Vector3 &force, const Mix::Vector3 &pos)=0 |
指定した位置に力を適用します More... | |
virtual void | ClearForce (void)=0 |
適用されている力をクリアします More... | |
virtual void | ClearMotion (void)=0 |
モーションをクリアします More... | |
virtual void | ClearMotion (const Mix::Quaternion &rot, const Mix::Vector3 &pos)=0 |
モーションをクリアします More... | |
virtual Boolean | UpdateLocalInertia (void)=0 |
慣性テンソルを更新します More... | |
![]() | |
virtual Mix::Dynamics::IObject::TYPE | GetType (void) const =0 |
種類を取得します More... | |
virtual Boolean | GetShape (Mix::Dynamics::IShape **ppShape)=0 |
シェイプを取得します More... | |
virtual Float32 | GetShapeMargin (void) const =0 |
シェイプの衝突マージンを取得します More... | |
virtual void | SetShapeMargin (Float32 margin)=0 |
シェイプの衝突マージンを設定します More... | |
virtual UInt16 | GetFilterGroup (void) const =0 |
フィルターグループを取得します More... | |
virtual void | SetFilterGroup (UInt16 filterGroup)=0 |
フィルターグループを設定します More... | |
virtual UInt16 | GetFilterMask (void) const =0 |
フィルターマスクを取得します More... | |
virtual void | SetFilterMask (UInt16 filterMask)=0 |
フィルターマスクを設定します More... | |
virtual const Mix::Dynamics::MATERIAL & | GetMaterial (void) const =0 |
マテリアルを取得します More... | |
virtual void | SetMaterial (const Mix::Dynamics::MATERIAL &material)=0 |
マテリアルを設定します More... | |
virtual Mix::Quaternion | GetWorldRotation (void) const =0 |
ワールドの回転を取得します More... | |
virtual Mix::Vector3 | GetWorldPosition (void) const =0 |
ワールドの位置を取得します More... | |
virtual Mix::Matrix4x4 | GetWorldMatrix (void) const =0 |
ワールド行列を取得します More... | |
virtual void | SetWorldRotation (const Mix::Quaternion &rot)=0 |
ワールドの回転を設定します More... | |
virtual void | SetWorldPosition (const Mix::Vector3 &pos)=0 |
ワールドの位置を設定します More... | |
virtual void | SetWorldTransform (const Mix::Quaternion &rot, const Mix::Vector3 &pos)=0 |
ワールドトランスフォームを設定します More... | |
virtual Boolean | IsInWorld (void) const =0 |
ワールドに配置されているかどうかを確認します More... | |
virtual Mix::Geometry::AABB | GetBounds (void) const =0 |
境界を取得します More... | |
virtual Boolean | AddListener (Mix::Dynamics::IObjectListener *pListener)=0 |
リスナーを追加します More... | |
virtual void | RemoveListener (Mix::Dynamics::IObjectListener *pListener)=0 |
リスナーを削除します More... | |
virtual Int32 | GetUserIndex (void) const =0 |
ユーザーインデックスを取得します More... | |
virtual void | SetUserIndex (Int32 index)=0 |
ユーザーインデックスを設定します More... | |
virtual void * | GetUserPtr (void) const =0 |
ユーザーポインタを取得します More... | |
virtual void | SetUserPtr (void *pData)=0 |
ユーザーポインタを設定します More... | |
virtual UInt32 | Debug_GetDrawFlags (void) const =0 |
デバッグ : 描画フラグを取得します More... | |
virtual void | Debug_SetDrawFlags (UInt32 flags)=0 |
デバッグ : 描画フラグを設定します More... | |
virtual Float32 | Debug_GetDrawAxisScaling (void) const =0 |
デバッグ : 軸を描画する際のを取得します More... | |
virtual void | Debug_SetDrawAxisScaling (Float32 scaling)=0 |
デバッグ : 軸を描画する際のスケールを設定します More... | |
virtual void | Debug_Draw (Mix::Graphics::Utility::IPerspectiveRenderer *pPerspectiveRenderer, Float32 opacity=1.0f)=0 |
デバッグ描画をします More... | |
![]() | |
void | AddRef (void) |
参照数を 1 増やします More... | |
void | Release (void) |
参照数を 1 減らします More... | |
Long32 | GetRefCount (void) |
参照数を取得します More... | |
Protected Member Functions | |
virtual | ~IRigidBody (void) |
デストラクタ More... | |
![]() | |
virtual | ~IObject (void) |
デストラクタ More... | |
![]() | |
MIX_DECLARE_ALLOCATOR () | |
Reference (void) | |
コンストラクタ More... | |
Reference (Long32 count) | |
コンストラクタ More... | |
virtual | ~Reference (void) |
デストラクタ More... | |
リジッドボディインターフェース
|
inlineprotectedvirtual |
デストラクタ
|
pure virtual |
シミュレーションが有効かどうかを取得します
|
pure virtual |
シミュレーションを有効にするかどうかを設定します
[in] | state | 有効にする場合は True |
|
pure virtual |
質量を取得します
|
pure virtual |
質量を設定します
[in] | mass | 質量( mass >= 0.0f ) |
|
pure virtual |
状態を取得します
|
pure virtual |
状態を設定します
[in] | status | 状態を表す Mix::Dynamics::IRigidBody::STATUS 列挙定数 |
|
pure virtual |
活動設定を取得します
活動設定をします
[in] | state | 常に活動状態にする場合は True |
|
pure virtual |
活動状態を取得します
|
pure virtual |
活動状態にします
非活動状態にします
[in] | bFroce | 強制的に非活動状態にする場合は True |
|
pure virtual |
移動のファクタを設定します
|
pure virtual |
移動のファクタを設定します
[in] | factor | 移動のファクタを表す Mix::Vector3 クラス |
|
pure virtual |
移動の減衰値を取得します
|
pure virtual |
移動の減衰値を設定します
[in] | damping | 移動における減衰値( 0.0f <= damping < 1.0f ) |
|
pure virtual |
移動速度を取得します
|
pure virtual |
移動速度を設定します
[in] | velocity | 線形速度を表す Mix::Vector3 クラス |
|
pure virtual |
移動を停止する速度を取得します
|
pure virtual |
移動を停止する速度を設定します
[in] | thresholds | 移動を停止する速度 |
|
pure virtual |
回転のファクタを設定します
|
pure virtual |
回転のファクタを設定します
[in] | factor | 回転のファクタを表す Mix::Vector3 クラス |
|
pure virtual |
回転の減衰値を取得します
|
pure virtual |
回転の減衰値を設定します
[in] | damping | 回転運動における減衰値( 0.0f <= damping < 1.0f ) |
|
pure virtual |
回転速度を取得します
|
pure virtual |
回転速度を設定します
[in] | velocity | 回転速度を表す Mix::Vector3 クラス |
|
pure virtual |
回転を停止する速度を取得します
|
pure virtual |
回転を停止する速度を設定します
[in] | thresholds | 回転を停止する速度 |
|
pure virtual |
移動に撃力を適用します
[in] | impulse | 適用する撃力を表す Mix::Vector3 クラス |
|
pure virtual |
回転に撃力を適用します
[in] | impulse | 適用する撃力を表す Mix::Vector3 クラス |
|
pure virtual |
指定した位置に撃力を適用します
[in] | impulse | 適用する撃力を表す Mix::Vector3 クラス |
[in] | pos | 撃力を適用する位置を表す Mix::Vector3 クラス |
|
pure virtual |
移動に適用されている力を取得します
|
pure virtual |
回転に適用されている力を取得します
|
pure virtual |
移動に力を適用します
[in] | force | 適用する力を表す Mix::Vector3 クラス |
|
pure virtual |
回転に力を適用します
[in] | force | 適用する力を表す Mix::Vector3 クラス |
|
pure virtual |
指定した位置に力を適用します
[in] | force | 適用する力を表す Mix::Vector3 クラス |
[in] | pos | 力を適用する位置を表す Mix::Vector3 クラス |
|
pure virtual |
適用されている力をクリアします
|
pure virtual |
モーションをクリアします
|
pure virtual |
モーションをクリアします
[in] | rot | クリア後の回転を表す Mix::Quaternion クラス |
[in] | pos | クリア後の位置を表す Mix::Vector3 クラス |
|
pure virtual |
慣性テンソルを更新します