ランタイム
|
ヒンジジョイントインターフェース More...
#include <IHingeJoint.h>
Public Member Functions | |
virtual const Mix::Vector3 & | GetAxis (void) const =0 |
回転軸を取得します More... | |
virtual void | SetAxis (const Mix::Vector3 &axis)=0 |
回転軸を設定します More... | |
virtual Float32 | GetLowerLimit (void) const =0 |
回転の最小角度を取得します More... | |
virtual void | SetLowerLimit (Float32 limit)=0 |
回転の最小角度を設定します More... | |
virtual Float32 | GetUpperLimit (void) const =0 |
回転の最大角度を取得します More... | |
virtual void | SetUpperLimit (Float32 limit)=0 |
回転の最大角度を設定します More... | |
virtual Boolean | GetMotorEnabled (void) const =0 |
モーターが有効かどうかを取得します More... | |
virtual void | SetMotorEnabled (Boolean state)=0 |
モーターを有効にするかどうかを設定します More... | |
virtual void | SetMotorParams (Float32 velocity, Float32 maxImpulse)=0 |
モーターのパラメータを設定します More... | |
virtual void | SetMotorParams (Float32 angle, Float32 dt, Float32 maxImpulse)=0 |
モーターのパラメータを設定します More... | |
virtual void | SetMotorParams (const Mix::Quaternion &ab, Float32 dt, Float32 maxImpulse)=0 |
モーターのパラメータを設定します More... | |
virtual Float32 | GetLimitSpring (void) const =0 |
リミットのスプリングのやわらかさを取得します More... | |
virtual void | SetLimitSpring (Float32 spring)=0 |
リミットのスプリングのやわらかさを設定します More... | |
virtual Float32 | GetLimitDamper (void) const =0 |
リミットのダンパーの減衰力を取得します More... | |
virtual void | SetLimitDamper (Float32 damper)=0 |
リミットのダンパーの減衰力を設定します More... | |
virtual Float32 | GetNormalSpring (void) const =0 |
モーターの垂直方向のスプリングのやわらかさを取得します More... | |
virtual void | SetNormalSpring (Float32 spring)=0 |
モーターの垂直方向のスプリングのやわらかさを設定します More... | |
virtual Float32 | GetAngle (void) const =0 |
回転軸の角度を取得します More... | |
![]() | |
virtual | ~IJoint (void) |
デストラクタ More... | |
virtual Mix::Dynamics::IJoint::TYPE | GetType (void) const =0 |
種類を取得します More... | |
virtual Boolean | IsInWorld (void) const =0 |
ワールドに配置されているかどうかを確認します More... | |
virtual Boolean | IsEnabled (void) const =0 |
接続が有効かどうかを確認します More... | |
virtual void | SetEnabled (Boolean state)=0 |
接続を有効にするかどうかを設定します More... | |
virtual Float32 | GetBreakingImpulseThreshold (void) const =0 |
接続が解除される力を取得します More... | |
virtual void | SetBreakingImpulseThreshold (Float32 threshold)=0 |
接続を解除する力を設定します More... | |
virtual Boolean | IsSingle (void) const =0 |
シングルかどうかを取得します More... | |
virtual void | GetRigidBodyA (Mix::Dynamics::IRigidBody **ppRigidBody)=0 |
リジッドボディAを取得します More... | |
virtual void | GetRigidBodyB (Mix::Dynamics::IRigidBody **ppRigidBody)=0 |
リジッドボディBを取得します More... | |
virtual const Mix::Vector3 & | GetPivotA (void) const =0 |
リジッドボディAのピボットを取得します More... | |
virtual void | SetPivotA (const Mix::Vector3 &pivot)=0 |
リジッドボディAのピボットを設定します More... | |
virtual const Mix::Vector3 & | GetPivotB (void) const =0 |
リジッドボディBのピボットを取得します More... | |
virtual void | SetPivotB (const Mix::Vector3 &pivot)=0 |
リジッドボディBのピボットを設定します More... | |
virtual UInt32 | Debug_GetDrawFlags (void) const =0 |
デバッグ : 描画フラグを取得します More... | |
virtual void | Debug_SetDrawFlags (UInt32 flags)=0 |
デバッグ : 描画フラグを設定します More... | |
virtual Float32 | Debug_GetDrawFrameMinSize (void) const =0 |
デバッグ : フレームを描画する際の最小サイズを取得します More... | |
virtual void | Debug_SetDrawFrameMinSize (Float32 minSize)=0 |
デバッグ : フレームを描画する際の最小サイズを設定します More... | |
virtual Float32 | Debug_GetDrawLimitScaling (void) const =0 |
デバッグ : リミットを描画する際のを取得します More... | |
virtual void | Debug_SetDrawLimitScaling (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 | ~IHingeJoint (void) |
デストラクタ More... | |
![]() | |
MIX_DECLARE_ALLOCATOR () | |
Reference (void) | |
コンストラクタ More... | |
Reference (Long32 count) | |
コンストラクタ More... | |
virtual | ~Reference (void) |
デストラクタ More... | |
Additional Inherited Members | |
![]() | |
enum | TYPE { POINT = 0, HINGE = 1, BALL = 2, SLIDER = 3, DOF = 4 } |
タイプ列挙定数 More... | |
ヒンジジョイントインターフェース
|
inlineprotectedvirtual |
デストラクタ
|
pure virtual |
回転軸を取得します
|
pure virtual |
回転軸を設定します
[in] | axis | 回転軸を表す Mix::Vector3 クラス |
|
pure virtual |
回転の最小角度を取得します
|
pure virtual |
回転の最小角度を設定します
[in] | limit | 最小角度( ラジアン単位 ) |
|
pure virtual |
回転の最大角度を取得します
|
pure virtual |
回転の最大角度を設定します
[in] | limit | 最大角度( ラジアン単位 ) |
|
pure virtual |
モーターが有効かどうかを取得します
|
pure virtual |
モーターを有効にするかどうかを設定します
[in] | state | 有効にする場合は True |
|
pure virtual |
モーターのパラメータを設定します
[in] | velocity | 回転速度 |
[in] | maxImpulse | 最大撃力 |
|
pure virtual |
モーターのパラメータを設定します
[in] | angle | 回転速度( ラジアン単位 ) |
[in] | dt | デルタタイム |
[in] | maxImpulse | 最大撃力 |
|
pure virtual |
モーターのパラメータを設定します
[in] | ab | 回転速度を表す Mix::Quaternion クラス |
[in] | dt | デルタタイム |
[in] | maxImpulse | 最大撃力 |
|
pure virtual |
リミットのスプリングのやわらかさを取得します
|
pure virtual |
リミットのスプリングのやわらかさを設定します
[in] | spring | やわらかさ( 0.0f〜1.0f ) |
|
pure virtual |
リミットのダンパーの減衰力を取得します
|
pure virtual |
リミットのダンパーの減衰力を設定します
[in] | damper | 減衰力( 0.2f〜0.8f ) |
|
pure virtual |
モーターの垂直方向のスプリングのやわらかさを取得します
|
pure virtual |
モーターの垂直方向のスプリングのやわらかさを設定します
[in] | spring | やわらかさ( 0.0f〜1.0f ) |
|
pure virtual |
回転軸の角度を取得します