|
|
|
| GxUnitSoftbodySimulation (void) |
| | デフォルトコンストラクタ
|
| |
| virtual u32 | initialize (GxResSoftbodySimulation *pResource, GxUnitModelBase *pParent, u32 unitProcessNumber, u32 unitListNumber, GxRtti &chainUnitRtti, GxRtti &clothUnitRtti) |
| | 初期化関数、コンストラクタの直後に呼ぶこと
|
| |
| void | cleanup (void) override |
| | 解放処理
|
| |
|
| void | updateMatrix (GxUnitModelBase::GxJoint *pNow) |
| | 指定ジョイント以下の全ジョイントの行列を更新
|
| |
|
constexpr u32 | getChainCount (void) const |
| | 鎖ユニットの個数取得
|
| |
|
constexpr GxUnitChainModel * | getChainUnit (u32 index) const |
| | 指定番号の鎖ユニット取得
|
| |
| GxUnitChainModel * | getChainUnitFromID (u32 id) const |
| | 指定番号の鎖ユニット取得
|
| |
|
constexpr u32 | getClothCount (void) const |
| | 布ユニットの個数取得
|
| |
|
constexpr GxUnitClothModel * | getClothUnit (u32 index) const |
| | 指定番号の布ユニット取得
|
| |
| GxUnitClothModel * | getClothUnitFromID (u32 id) const |
| | 指定番号の布ユニット取得
|
| |
|
GxUnitSoftbodyCollision * | getCollision (void) const |
| | コリジョンユニット取得
|
| |
| void | setCollision (GxUnitSoftbodyCollision *pCollision) |
| | コリジョンユニット設定
|
| |
| b32 | isSimulation (void) const |
| | 有効判定
|
| |
| b32 | isSimulationChain (u32 index) const |
| | 鎖有効判定
|
| |
| b32 | isSimulationCloth (u32 index) const |
| | 布有効判定
|
| |
| void | setIsSimulation (b32 enable) |
| | 有効設定(シミュレーションとモーションを補間して遷移)
|
| |
|
b32 | isInterpolateToMotion (void) const |
| | シミュレーションからモーションへ補間している状態か判定
|
| |
| b32 | isInterpolateToMotionChain (u32 index) const |
| | 鎖がシミュレーションからモーションへ補間している状態か判定
|
| |
| b32 | isInterpolateToMotionCloth (u32 index) const |
| | 布がシミュレーションからモーションへ補間している状態か判定
|
| |
|
void | forceDisableSimulation (void) |
| | シミュレーションを強制終了してモーションへ(補間しない)
|
| |
| f32 | getInterpolateTime (void) const |
| | 補間時間の取得(シミュレーション→モーションの補間にかける時間)
|
| |
| void | setInterpolateTime (f32 time) |
| | 補間時間の設定(シミュレーション→モーションの補間にかける時間)
|
| |
| b32 | isMotionGravity (void) const |
| | 重力を修正してモーションへ収束させるか設定
|
| |
| void | setIsMotionGravity (b32 enable) |
| | 重力を修正してモーションへ収束させるか設定
|
| |
| void | setMotionGravity (b32 enable, f32 gravityForce, const GxVector3 &gravityDirection=-GxVector3::AXIS_Y) |
| | 重力を修正してモーションへ収束させるか設定 - パラメータ変更込み
|
| |
|
GX_FORCE_INLINE GxVector3 | getGravity (void) const |
| | 重力取得
|
| |
| void | setGravity (const GxVector3 &gravity) |
| | 重力設定
|
| |
| f32 | getGravityForce (void) const |
| | 重力取得(大きさのみ)
|
| |
| void | setGravityForce (f32 force) |
| | 重力設定(大きさのみ)
|
| |
| const GxVector3 & | getGravityDirection (void) const |
| | 重力取得(方向のみ)
|
| |
| void | setGravityDirection (const GxVector3 &direction) |
| | 重力設定(方向のみ)
|
| |
|
GX_FORCE_INLINE GxVector3 | getWind (void) const |
| | 風取得
|
| |
| void | setWind (const GxVector3 &wind) |
| | 風設定
|
| |
| f32 | getWindForce (void) const |
| | 風力取得
|
| |
| void | setWindForce (f32 force) |
| | 風力設定
|
| |
|
const GxVector3 & | getWindDirection (void) const |
| | 風向取得
|
| |
| void | setWindDirection (const GxVector3 &direction) |
| | 風向設定
|
| |
|
GX_FORCE_INLINE b32 | isUpdateAllMatrix (void) const |
| | 重力を修正してモーションへ収束させるか設定
|
| |
|
GX_FORCE_INLINE void | setIsUpdateAllMatrix (b32 is) |
| | 重力を修正してモーションへ収束させるか設定
|
| |
|
| GxUnitBase (void) |
| | コンストラクタ
|
| |
|
constexpr f32 | getDeltaTimeFactor (void) const |
| | デルタタイム係数を取得
|
| |
|
constexpr void | setDeltaTimeFactor (f32 deltaTimeFactor) |
| | デルタタイム係数を設定
|
| |
|
constexpr f32 | getDeltaTime (void) const |
| | デルタタイムを取得
|
| |
|
constexpr void | setDeltaTime (f32 deltaTime) |
| | デルタタイムを設定
|
| |
|
constexpr f32 | getDeltaTimeRatio (void) const |
| | デルタタイムレート(通常のフレームレートの何倍か)を取得
|
| |
|
constexpr void | setDeltaTimeRatio (f32 deltaTimeRatio) |
| | デルタタイムレート(通常のフレームレートの何倍か)を設定
|
| |
|
constexpr STATE | getState (void) const |
| | 状態を取得
|
| |
|
constexpr void | setState (STATE state) |
| | 状態を設定(ユーザーは使用してはならない内部使用)
|
| |
|
GX_FORCE_INLINE b32 | isEnable (void) const |
| | 有効か判定
|
| |
|
constexpr u32 | getAttribute (void) const |
| | 属性を取得
|
| |
|
GX_FORCE_INLINE b32 | isAttribute (ATTRIBUTE attribute) const |
| | 属性を判定
|
| |
|
GX_FORCE_INLINE void | setAttribute (ATTRIBUTE attribute, b32 enable) |
| | 属性を設定
|
| |
|
GX_FORCE_INLINE b32 | isRender (void) const |
| | 描画フラグ判定
|
| |
| void | setRender (b32 enable, b32 withChildren=false) |
| | 描画フラグを設定
|
| |
|
GX_FORCE_INLINE GxFlag32Index< RENDER_VIEW > | getRenderViewFlag (void) const |
| | 描画するビューフラグを取得
|
| |
|
GX_FORCE_INLINE b32 | isRenderView (RENDER_VIEW view) const |
| | 描画するビューを判定
|
| |
|
GX_FORCE_INLINE void | setRenderView (RENDER_VIEW view, b32 enable) |
| | 描画するビューを設定
|
| |
|
GX_FORCE_INLINE b32 | isRenderSubView (RENDER_SUB_VIEW subView) const |
| | 描画するサブビューを判定
|
| |
|
GX_FORCE_INLINE void | setRenderSubView (RENDER_SUB_VIEW subView, b32 enable) |
| | 描画するサブビューを設定
|
| |
|
GX_FORCE_INLINE b32 | isUpdateEnable (UPDATE_TYPE updateType) const |
| | 更新を呼ぶかを判定
|
| |
|
GX_FORCE_INLINE void | setUpdateEnable (UPDATE_TYPE updateType, b32 enable) |
| | 更新を呼ぶかを設定
|
| |
|
GX_FORCE_INLINE void | getPropertyAttributeUpdate (void *const pValue) |
| | プロパティ用:更新処理の属性を取得
|
| |
|
GX_FORCE_INLINE void | setPropertyAttributeUpdate (const void *const pValue) |
| | プロパティ用:更新処理の属性を設定
|
| |
|
template<typename T > |
| T * | getModule (void) const |
| | モジュールを取得
|
| |
|
constexpr u32 | getChildCount (void) const |
| | 子ユニット数を取得
|
| |
|
constexpr GxUnitBase * | getChild (u32 index) const |
| | 子ユニットを取得
|
| |
|
constexpr GxUnitBase * | getParent (void) const |
| | 親ユニットを取得
|
| |
| void | setParent (GxUnitBase *pParent) |
| | 親ユニットを設定
|
| |
|
constexpr GxResUnitInstance * | getResUnitInstance (void) const |
| | ユニットインスタンスリソースを取得
|
| |
| void | setResUnitInstance (GxResUnitInstance *pResUnitInstance) |
| | ユニットインスタンスリソースを設定
|
| |
|
constexpr void | getPropertyResUnitInstance (void *const pValue) |
| | ユニットインスタンスリソースプロパティの取得
|
| |
| void | setPropertyResUnitInstance (const void *const pValue) |
| | ユニットインスタンスリソースプロパティの設定
|
| |
| GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) override |
| | デフォルトオブジェクトを取得
|
| |
|
constexpr GxUnitBase * | getDefaultUnit (void) const |
| | デフォルトユニットを取得
|
| |
| void | setDefaultUnit (GxUnitBase *pDefaultUnit) |
| | デフォルトユニットを設定
|
| |
| void | sleep (f32 time) |
| | スリープ(スクリプト用)
|
| |
|
template<typename T > |
| T * | createAndAddChild (u32 listProcessNumber=U32_MAX, u32 listKindNumber=U32_MAX, b32 isSerialize=false, const GxRtti *pRtti=nullptr) |
| | 子ユニットを追加作成
|
| |
|
| GxClassBaseReference (void) |
| | コンストラクタ
|
| |
|
| GxClassBaseReference (const GxClassBaseReference &base) |
| | コピーコンストラクタ
|
| |
|
| ~GxClassBaseReference (void) override |
| | デストラクタ
|
| |
| constexpr GxClassBaseReference & | operator= (const GxClassBaseReference &base) |
| | 代入演算子
|
| |
| virtual s32 | addReference (void) |
| | 参照カウンタを加算
|
| |
| virtual s32 | release (void) |
| | 解放
|
| |
|
virtual s32 | getReferenceCount (void) const |
| | 参照カウンタを取得
|
| |
|
constexpr void | setDelayReleaseCount (s32 count) |
| | 遅延解放カウンタを設定
|
| |
|
void | setDelayReleaseCountInfinity (b32 on) |
| | 無限解放待ちの設定
|
| |
|
constexpr | GxClassBaseRoot (void) |
| | コンストラクタ
|
| |
|
constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| | コピーコンストラクタ
|
| |
|
virtual | ~GxClassBaseRoot (void) |
| | デストラクタ
|
| |
|
constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| | 代入演算子
|
| |
|
virtual GxRtti & | getRtti (void) const =0 |
| | Rttiの取得
|
| |
|
GX_FORCE_INLINE b32 | isDefaultObject (void) |
| | デフォルトオブジェクト判定
|
| |