|
|
|
| GxUnitRealTimeDemo (void) |
| | デフォルトコンストラクタ
|
| |
| void | cleanup (void) override |
| | 解放処理
|
| |
|
| GxUnitLocate (void) |
| | コンストラクタ
|
| |
|
GX_FORCE_INLINE const GxMatrixAffine & | getWorldMatrix (void) const |
| | ワールドマトリクスの取得
|
| |
| void | getWorldMatrix (GxMatrixAffine &matrix) const |
| | ワールドマトリクスの取得(再計算を行う)
|
| |
|
GX_FORCE_INLINE void | setWorldMatrix (const GxMatrixAffine &matrix) |
| | ワールドマトリクスの設定
|
| |
|
GX_FORCE_INLINE GxMatrixAffine * | getWorldMatrixAddress (void) |
| | ワールドマトリクスアドレスの取得
|
| |
|
GX_FORCE_INLINE const GxVector3 & | getPosition (void) const |
| | 位置の取得
|
| |
|
virtual GX_FORCE_INLINE void | setPosition (const GxVector3 &position) |
| | 位置の設定
|
| |
|
GX_FORCE_INLINE const GxVector3 & | getLocalPosition (void) const |
| | ローカル位置の取得
|
| |
|
virtual GX_FORCE_INLINE void | setLocalPosition (const GxVector3 &position) |
| | ローカル位置の設定
|
| |
|
GX_FORCE_INLINE GxQuaternion | getQuaternion (void) const |
| | 回転値の取得
|
| |
|
GX_FORCE_INLINE void | setQuaternion (const GxQuaternion &quaternion) |
| | 回転値の設定
|
| |
|
GX_FORCE_INLINE const GxQuaternion & | getLocalQuaternion (void) const |
| | ローカル回転値の取得
|
| |
|
GX_FORCE_INLINE void | setLocalQuaternion (const GxQuaternion &quaternion) |
| | ローカル回転値の設定
|
| |
|
GX_FORCE_INLINE GxVector3 | getScale (void) const |
| | 拡縮率の取得
|
| |
|
virtual GX_FORCE_INLINE void | setScale (const GxVector3 &scale) |
| | 拡縮率の設定
|
| |
|
GX_FORCE_INLINE const GxVector3 & | getLocalScale (void) const |
| | ローカル拡縮率の取得
|
| |
|
virtual GX_FORCE_INLINE void | setLocalScale (const GxVector3 &scale) |
| | ローカル拡縮率の設定
|
| |
|
GX_FORCE_INLINE const GxShapeSphere & | getBoundingSphere (void) const |
| | バウンディング球を取得
|
| |
|
GX_FORCE_INLINE void | setBoundingSphere (const GxShapeSphere &sphere) |
| | バウンディング球を設定
|
| |
| void | getBoundingSphereWorld (GxShapeSphere &sphere) const |
| | ワールド座標のバウンディング球の取得
|
| |
|
GX_FORCE_INLINE b32 | isCulling (RENDER_VIEW view, u32 subView) const |
| | カリングされているか判定
|
| |
|
GX_FORCE_INLINE b32 | isCullingEnable (void) const |
| | カリングが有効かを取得
|
| |
|
GX_FORCE_INLINE void | setCullingEnable (b32 flag) |
| | カリングの有効設定
|
| |
|
GX_FORCE_INLINE b32 | enabledHierarchicalCulling (void) const |
| | 階層カリングを有効にするオブジェクトかどうか?
|
| |
|
GX_FORCE_INLINE void | setHierarchicalCulling (b32 flag) |
| | 階層カリングを有効にするかどうか?を設定(規定値は無効
|
| |
|
GX_FORCE_INLINE b32 | isDoneHierarchicalCulling (void) const |
| | 階層カリングが既に行われた後かどうか?を判断する
|
| |
|
GX_FORCE_INLINE void | doneHierarchicalCulling (b32 flag) |
| | 階層カリングを既に行ったかどうか?を設定する
|
| |
|
constexpr u32 | getCullingState (void) const |
| | カリングの結果のフラスタムの内外ステータスを取得する。
|
| |
|
constexpr void | setCullingState (u32 flag) |
| | カリングの結果のフラスタムの内外ステータスを保持する。
|
| |
|
constexpr void | clearCullingState (void) |
| | カリングの結果のフラスタムの内外ステータスを保持する。
|
| |
|
GX_FORCE_INLINE b32 | isMovable (MOVABLE movable) const |
| | 可動性を判定
|
| |
|
void | setMovable (MOVABLE movable) |
| | 可動性を設定
|
| |
|
GX_FORCE_INLINE b32 | isDirtyMovable (void) const |
| | 可動性の変更を判定
|
| |
|
GX_FORCE_INLINE void | setDirtyMovable (b32 enable) |
| | 可動性の変更を設定
|
| |
| void | kill (void) override |
| | 消去リクエスト
|
| |
| virtual void | frustumCulling (void *pFrustum) |
| | カリングを実行
|
| |
| virtual void | forceSetCullingFlag (u32 argument) |
| | オブジェクトのカリングフラグを強制設定
|
| |
| virtual void | buildSpaceGraph (void *pOctree) |
| | 空間木に追加
|
| |
| virtual void | eraseSpaceGraph (void *pOctree) |
| | 空間木から削除
|
| |
| virtual GX_FORCE_INLINE void | updateLocalMatrix (void) |
| | ローカルマトリクスの更新
|
| |
| virtual void | updateWorldMatrix (void) |
| | ワールドマトリクスの更新
|
| |
| void | addX (f32 value) |
| | X軸方向に移動
|
| |
| void | addY (f32 value) |
| | Y軸方向に移動
|
| |
| void | addZ (f32 value) |
| | Z軸方向に移動
|
| |
| void | addPosition (const GxVector3 &moveVector) |
| | 指定方向に移動
|
| |
| void | addQuaternion (const GxQuaternion &quaternion) |
| | クウォータニオン加算
|
| |
| void | rotateAxisY (const GxVector3 &vector, f32 radian) |
| | Y軸を回転軸として、ワールドのZ軸を指定方向に回転
|
| |
| void | rotateAxisZ (const GxVector3 &vector, f32 radian) |
| | Z軸を回転軸として、ワールドのY軸を指定方向に回転
|
| |
| b32 | isAbleAddToOctree (void) |
| | 8分木に登録可能か判定
|
| |
| b32 | isAbleDeleteFromOctree (void) |
| | 8分木から削除可能か判定
|
| |
|
| 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) |
| | デフォルトオブジェクト判定
|
| |
|
|
void | setResourceAsync (GxResRealTimeDemo *pRes, u32 index, b32 loadKeyResourceAsync=true) |
| | リソースを設定
|
| |
|
constexpr GxResRealTimeDemo * | getResource (u32 index) |
| | リソースを取得
|
| |
|
constexpr GxResRealTimeDemo * | getRTDResource (u32 index) |
| | リソースを取得
|
| |
| void | setRTDResource (GxResRealTimeDemo *pRes, u32 index, b32 loadKeyResourceAsync=true) |
| | リソースを設定
|
| |
| b32 | isPlayable (void) const |
| | 再生可能かを判定
|
| |
| b32 | isPlaying (void) const |
| | 再生中判定(リクエストを考慮)
|
| |
| b32 | _isPlaying (void) const |
| | 再生中判定(実際に再生中か)
|
| |
|
GX_FORCE_INLINE b32 | isPausing (void) const |
| | 一時停止中判定(リクエストを考慮)
|
| |
|
GX_FORCE_INLINE b32 | _isPausing (void) const |
| | 一時停止中判定(実際に一時停止中か)
|
| |
| f32 | getNowFrame (void) const |
| | 現在フレームを取得
|
| |
| f32 | getStartFrame (void) const |
| | 開始フレームを取得
|
| |
| f32 | getEndFrame (void) const |
| | 終了フレームを取得
|
| |
|
GX_FORCE_INLINE b32 | isScreenShot (void) |
| | 撮影モードか判定
|
| |
|
GX_FORCE_INLINE void | setScreenShot (b32 on) |
| | 撮影モードを設定
|
| |
| void | setPrecreateUnit (b32 enable) |
| | 事前ユニット生成を設定
|
| |
| GxUnitBase * | getUnit (u32 resourceIndex, u32 unitNodeId) |
| | ユニットを取得
|
| |
| GxUnitBase * | getUnitFromDiscrimID (u32 resourceIndex, s32 discrimId) |
| | 識別IDからユニットを取得
|
| |
| b32 | getPropertyValueAsString (GxString &value, GxRtti *&pRtti, u32 resourceIndex, u32 unitNodeId, u32 propertyNodeId) |
| | プロパティの値を文字列として取得
|
| |
| b32 | getPropertyValuePointer (GxTypedObject *&pValue, u32 resourceIndex, u32 unitNodeId, u32 targetPropertyNodeId) |
| | プロパティの値のアドレスを取得
|
| |
| b32 | getPropertyValuePointer (GxTypedObject *&pValue, u32 resourceIndex, GxResRealTimeDemo::GxRtdUnit *pUnit, u32 targetPropertyNodeId) |
| | プロパティの値のアドレスを取得
|
| |
|
void | updatePlayState (void) |
| | 再生状態の更新(特殊用途)
|
| |
|
constexpr void | setEndFrameMode (END_FRAME_MODE mode) |
| | 再生終了時のふるまい方を設定
|
| |
|
constexpr END_FRAME_MODE | getEndFrameMode (void) const |
| | 再生終了時のふるまい方を取得
|
| |
| virtual b32 | getKeyValueB32 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, b32 &value) |
| | 現在のキーの値を取得(B32)
|
| |
| virtual b32 | getKeyValueS32 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, s32 &value) |
| | 現在のキーの値を取得(S32)
|
| |
| virtual b32 | getKeyValueU32 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, u32 &value) |
| | 現在のキーの値を取得(U32)
|
| |
| virtual b32 | getKeyValueF32 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, f32 &value) |
| | 現在のキーの値を取得(F32)
|
| |
| virtual b32 | getKeyValueVector2 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxVector2 &value) |
| | 現在のキーの値を取得(Vector2)
|
| |
| virtual b32 | getKeyValueVector3 (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxVector3 &value) |
| | 現在のキーの値を取得(Vector3)
|
| |
| virtual b32 | getKeyValueQuaternion (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxQuaternion &value) |
| | 現在のキーの値を取得(Quaternion)
|
| |
| virtual b32 | getKeyValueResource (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxClassBaseRoot *&value) |
| | 現在のキーの値を取得(Resource)
|
| |
| virtual b32 | getKeyValueColor (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxColor &value) |
| | 現在のキーの値を取得(Color)
|
| |
| virtual b32 | getKeyValueColorHDR (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxColorHDR &value) |
| | 現在のキーの値を取得(ColorHDR)
|
| |
| virtual b32 | getKeyValueEvent (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame) |
| | 現在のキーの値を取得(Event)
|
| |
| virtual b32 | getKeyValueString (const GxResRealTimeDemo::GxRtdUnit *pOwnerUnit, const GxTypedObject *pOwner, const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 bkFrame, GxString &value) |
| | 現在のキーの値を取得(String)
|
| |
|
GX_FORCE_INLINE const GxArrayClassBase * | getReplaceUnitArray (void) |
| | 置き換えユニット配列の取得
|
| |
|
GX_FORCE_INLINE void | setCallbackStop (GxCallback::GxHandlerBase handler) |
| | 停止時コールバックを設定
|
| |
| GX_FORCE_INLINE void | setForceSkipPlayMode (b32 enable) |
| |
|
GX_FORCE_INLINE b32 | isForceSkipPlayMode (void) const |
| | スキップ再生モードを強制するか否かを取得
|
| |
| virtual f32 | getDeltaFrame (void) |
| | デルタ時間をフレーム数単位で取得
|
| |
|
virtual GX_FORCE_INLINE b32 | isSetupFinished (void) |
| | 追加リソースロード待ち関数(主にリソースシステムに管理されない外部ライブラリとの連携用)
|
| |
|
GX_FORCE_INLINE GxArrayClassBase * | getUnitArray (u32 index) |
| | ユニット配列を取得
|
| |
| b32 | getPreviousNextKey (const GxResRealTimeDemo::GxRtdProp *pProperty, f32 nowFrame, f32 beforeFrame, GxResRealTimeDemo::GxRtdKeyBase *&pPreviousKey, GxResRealTimeDemo::GxRtdKeyBase *&pNextKey) |
| | 現在フレームの前後のキーを取得
|
| |
|
virtual void | pauseMotion (void) |
| | モーションを一時停止
|
| |
|
virtual void | resumeMotion (void) |
| | モーションを再開
|
| |
| static b32 | isSupport (GxProperty *pProperty) |
| | プロパティタイプがサポートされているか判定
|
| |
|
static GX_FORCE_INLINE GxRtti * | getRttiCreateCharacter (void) |
| | 継承するRTD用キャラクタクラスを取得
|
| |
|
static constexpr void | setRttiCreateCharacter (GxRtti *pRtti) |
| | 継承するRTD用キャラクタクラスを設定
|
| |
|
static GX_FORCE_INLINE GxRtti * | getRttiCreateCamera (void) |
| | 継承するRTD用カメラクラスを取得
|
| |
|
static constexpr void | setRttiCreateCamera (GxRtti *pRtti) |
| | 継承するRTD用カメラクラスを設定
|
| |