13GX_UTILITY_NAMESPACE_BEGIN()
16class GxRealTimeDemoEditInterface;
49 friend class GxRealTimeDemoEditInterface;
50 class GxRtdColumnMarker;
92 void setProperty(
const void*
const pValue, u32 index);
94 constexpr u32
getNodeId(
void)
const {
return _nodeId; }
99 constexpr void getPropertyRttiName(
void*
const pValue){ *
static_cast<GX_CSTR*
>(pValue) = (
nullptr !=
_pRtti) ?
_pRtti->getName() :
""; }
146 void getToolRtti(
GxArray& arrayTool )
const override;
152 constexpr u32 newNodeId(
void) {
return ++_reservedNodeIdMax; }
189 b32 getPropertyParent(GxRtdUnit*& pParentUnit, GxRtdProp*& pParentProperty, u32 childPropertyNodeId);
192 constexpr u32 getColumnMarkerNum(
void)
const {
return _columnMarker.getCount(); }
194 GX_FORCE_INLINE
const GxRtdColumnMarker* getColumnMarkerInfo(u32 index)
const {
return reinterpret_cast<GxRtdColumnMarker*
>(_columnMarker[index]); }
196 void updateColumnMarkerInfo(
void);
198 const GxString* getMarkerString(s32 frame)
const;
202 void getMinMaxFrameSub(GxRtdProp* pRtdProperty, u32& minFrame, u32& maxFrame);
211 void setProperty(
const void*
const pValue, u32 index);
213 GxRtdProp* getPropertyFromNodeIdSub(u32 propertyNodeId, GxRtdProp* pProperty);
215 b32 getPropertyHierarchyFromNodeIdSub(u32 propertyNodeId, GxRtdProp* pParentProperty,
GxArrayClassBase& result);
217 b32 deletePropertySub(GxRtdProp* pProperty, u32 propertyNodeId);
219 b32 isDescendantPropertySub(GxRtdProp* pParentProperty, u32 descendantPropertyNodeId);
221 b32 getPropertyParentSub(GxRtdProp*& pResult, u32 childPropertyNodeId, GxRtdProp* pParentProperty);
224 GX_FORCE_INLINE
void setColumnMarkerNum(u32 num) { _columnMarker.setCount(num); }
226 void addColumnMarker(
void);
229 GX_FORCE_INLINE
void getColumnMarker(
void*
const pValue, u32 index) { *
static_cast<GxRtdColumnMarker**
>(pValue) = (_columnMarker.getCount() > index) ?
reinterpret_cast<GxRtdColumnMarker*
>(_columnMarker[index]) : nullptr; }
231 void setColumnMarker(
const void*
const pValue, u32 index);
248 u32 _reservedNodeIdMax;
295 void setProperty(
const void*
const pValue, u32 index);
303 void setChildren(
const void*
const pValue, u32 index);
326 constexpr void getPropertyPropertyName(
void*
const pValue){ *
static_cast<GX_CSTR*
>(pValue) = (
nullptr !=
_pProperty) ?
_pProperty->getName() :
""; }
328 constexpr void getPropertyRttiName(
void*
const pValue){ *
static_cast<GX_CSTR*
>(pValue) = (
nullptr !=
_pRtti) ?
_pRtti->getName() :
""; }
434 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<b32*
>(
const_cast<void*
>(pValue)) =
_value; }
436 void setPropertyValue(
void* pValue);
484 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<s32*
>(
const_cast<void*
>(pValue)) =
_value; }
486 void setPropertyValue(
void* pValue);
534 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<u32*
>(
const_cast<void*
>(pValue)) =
_value; }
536 void setPropertyValue(
void* pValue);
584 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<f32*
>(
const_cast<void*
>(pValue)) =
_value; }
586 void setPropertyValue(
void* pValue);
634 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<GxVector2**
>(
const_cast<void*
>(pValue)) =
static_cast<GxVector2*
>(&
_value); }
636 void setPropertyValue(
void* pValue);
684 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<GxVector3**
>(
const_cast<void*
>(pValue)) =
static_cast<GxVector3*
>(&
_value); }
686 void setPropertyValue(
void* pValue);
734 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<GxQuaternion**
>(
const_cast<void*
>(pValue)) =
static_cast<GxQuaternion*
>(&
_value); }
736 void setPropertyValue(
void* pValue);
784 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<GxColor**
>(
const_cast<void*
>(pValue)) =
static_cast<GxColor*
>(&
_value); }
786 void setPropertyValue(
void* pValue);
834 constexpr void getPropertyValue(
const void* pValue){ *
static_cast<GxColorHDR**
>(
const_cast<void*
>(pValue)) =
static_cast<GxColorHDR*
>(&
_value); }
836 void setPropertyValue(
void* pValue);
884 void getPropertyValue(
const void* pValue);
886 void setPropertyValue(
void* pValue);
981 GxResRealTimeDemoXml(
void){}
983 ~GxResRealTimeDemoXml(
void)
override {}
1000 void convertResourceRtti(GxRtdProp* pProperty);
1008class GxRealTimeDemoEditInterface :
public GxClassBase
1016 GX_RTTI_CLASS(GxRealTimeDemoEditInterface,
GxClassBase)
1025 GxRealTimeDemoEditInterface(
void) : _pRes(nullptr){}
1029 ~GxRealTimeDemoEditInterface(
void)
override {}
1043 void deleteUnit(u32 unitNodeId);
1050 b32 setArrayPropertyElementCount(u32 propertyNodeId, u32 elementNum);
1052 void deleteProperty(u32 propertyNodeId);
1057 void deleteKey(u32 propertyNodeId, u32 frame);
1086class GxResRealTimeDemo::GxRtdColumnMarker :
public GxClassBase
1094 GX_RTTI_CLASS(GxResRealTimeDemo::GxRtdColumnMarker,
GxClassBase)
1103 GxRtdColumnMarker(
void){}
1119GX_UTILITY_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
#define GX_RTTI_RESOURCE(__THIS__, __BASE__)
リソースクラス型情報宣言
Definition GxRttiResource.h:102
配列クラス
Definition GxArrayClassBase.h:18
constexpr u32 getCount(void) const
配列数を取得
Definition GxArrayClassBase.h:109
void setCount(u32 count)
配列数を設定
Definition GxArrayClassBase.cpp:246
配列クラス
Definition GxArray.h:18
オブジェクト基底クラス
Definition GxBase.h:88
基底クラス
Definition GxBase.h:51
プロパティクラス
Definition GxProperty.h:48
TYPE
タイプ定義
Definition GxProperty.h:56
リソース基底クラス
Definition GxResBase.h:23
RTD再生用キー(B32)
Definition GxResRealTimeDemo.h:405
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:430
b32 _value
値
Definition GxResRealTimeDemo.h:446
RTD再生用キー
Definition GxResRealTimeDemo.h:356
~GxRtdKeyBase(void) override
デストラクタ
Definition GxResRealTimeDemo.h:379
u32 _frame
フレーム
Definition GxResRealTimeDemo.h:396
virtual GX_FORCE_INLINE void * getValueAddress(void)
値のアドレスを取得
Definition GxResRealTimeDemo.h:388
RTD再生用キー(ColorHDR)
Definition GxResRealTimeDemo.h:805
GxColorHDR _value
値
Definition GxResRealTimeDemo.h:846
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:830
RTD再生用キー(Color)
Definition GxResRealTimeDemo.h:755
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:780
GxColor _value
値
Definition GxResRealTimeDemo.h:796
RTD再生用キー(イベント)
Definition GxResRealTimeDemo.h:939
RTD再生用キー(F32)
Definition GxResRealTimeDemo.h:555
f32 _value
値
Definition GxResRealTimeDemo.h:596
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:580
RTD再生用キー(Quaternion)
Definition GxResRealTimeDemo.h:705
GxQuaternion _value
値
Definition GxResRealTimeDemo.h:746
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:730
RTD再生用キー(リソース)
Definition GxResRealTimeDemo.h:905
GxString _path
パス
Definition GxResRealTimeDemo.h:929
GxRttiResource * _pRtti
RTTI.
Definition GxResRealTimeDemo.h:930
RTD再生用キー(S32)
Definition GxResRealTimeDemo.h:455
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:480
s32 _value
値
Definition GxResRealTimeDemo.h:496
RTD再生用キー(String)
Definition GxResRealTimeDemo.h:855
GxString _value
値
Definition GxResRealTimeDemo.h:896
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:880
RTD再生用キー(U32)
Definition GxResRealTimeDemo.h:505
u32 _value
値
Definition GxResRealTimeDemo.h:546
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:530
RTD再生用キー(Vector2)
Definition GxResRealTimeDemo.h:605
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:630
GxVector2 _value
値
Definition GxResRealTimeDemo.h:646
RTD再生用キー(Vector3)
Definition GxResRealTimeDemo.h:655
GX_FORCE_INLINE void * getValueAddress(void) override
値のアドレスを取得
Definition GxResRealTimeDemo.h:680
GxVector3 _value
値
Definition GxResRealTimeDemo.h:696
RTD再生用プロパティ
Definition GxResRealTimeDemo.h:257
~GxRtdProp(void) override
デストラクタ
Definition GxResRealTimeDemo.cpp:934
GxArrayClassBase _childArray
子プロパティ配列
Definition GxResRealTimeDemo.h:342
b32 isKeyable(void) const
直接キー設定可能か判定
Definition GxResRealTimeDemo.cpp:985
void setProperty(const void *const pValue, u32 index)
キーを設定(プロパティ用)
Definition GxResRealTimeDemo.cpp:956
GxRtti * _pRtti
プロパティのRTTI
Definition GxResRealTimeDemo.h:338
GxArrayClassBase _keyArray
キー配列
Definition GxResRealTimeDemo.h:341
constexpr u32 getNodeId(void) const
ノードIDを取得
Definition GxResRealTimeDemo.h:313
constexpr void getProperty(void *const pValue, u32 index)
キーを取得(プロパティ用)
Definition GxResRealTimeDemo.h:293
constexpr void getChildren(void *const pValue, u32 index)
子プロパティを取得(プロパティ用)
Definition GxResRealTimeDemo.h:301
s32 _arrayIndex
配列インデックス
Definition GxResRealTimeDemo.h:340
constexpr u32 getChildNum(void) const
子プロパティ配列の要素数を取得(プロパティ用)
Definition GxResRealTimeDemo.h:297
s32 _interpolateType
補間タイプ
Definition GxResRealTimeDemo.h:339
GX_FORCE_INLINE void setPropertyNum(u32 num)
キー配列の要素数を設定(プロパティ用)
Definition GxResRealTimeDemo.h:291
constexpr u32 getPropertyNum(void) const
キー配列の要素数を取得(プロパティ用)
Definition GxResRealTimeDemo.h:289
GxProperty * _pProperty
プロパティ
Definition GxResRealTimeDemo.h:337
GxRtdProp(void)
デフォルトコンストラクタ
Definition GxResRealTimeDemo.cpp:887
b32 isArrayElement(void) const
配列の要素か判定
Definition GxResRealTimeDemo.cpp:1047
constexpr s32 getArrayIndex(void) const
配列のindex取得
Definition GxResRealTimeDemo.h:316
b32 isArrayParent(void) const
配列の親か判定
Definition GxResRealTimeDemo.cpp:1034
GX_FORCE_INLINE void setChildNum(u32 num)
子プロパティ配列の要素数を設定(プロパティ用)
Definition GxResRealTimeDemo.h:299
void setChildren(const void *const pValue, u32 index)
子プロパティを設定(プロパティ用)
Definition GxResRealTimeDemo.cpp:971
RTDユニット
Definition GxResRealTimeDemo.h:54
GX_FORCE_INLINE void getProperty(void *const pValue, u32 index)
プロパティを取得
Definition GxResRealTimeDemo.h:90
GX_FORCE_INLINE void setPropertyNum(u32 num)
プロパティ数を設定
Definition GxResRealTimeDemo.h:88
GxArrayClassBase _propertyArray
ユニットに対してキー設定するプロパティ配列
Definition GxResRealTimeDemo.h:109
GxString _userData
ユーザーがDCCツール上で自由に設定できる文字列(アプリケーションで任意で使用できるパラメータ)
Definition GxResRealTimeDemo.h:111
s32 _discrimID
自由に設定できるユニット識別用ID
Definition GxResRealTimeDemo.h:110
void setProperty(const void *const pValue, u32 index)
プロパティを設定
Definition GxResRealTimeDemo.cpp:874
GxRtdUnit(void)
デフォルトコンストラクタ
Definition GxResRealTimeDemo.cpp:815
constexpr u32 getNodeId(void) const
ノードIDを取得
Definition GxResRealTimeDemo.h:94
GxRtti * _pRtti
ユニットのRtti
Definition GxResRealTimeDemo.h:108
~GxRtdUnit(void) override
デストラクタ
Definition GxResRealTimeDemo.cpp:845
GxString _type
表示名の変更(type)
Definition GxResRealTimeDemo.h:112
constexpr u32 getPropertyNum(void) const
プロパティ数を取得
Definition GxResRealTimeDemo.h:86
void initializeAfterRttiLoaded(void)
RTTIとリソース読み込み後の_typeの更新
Definition GxResRealTimeDemo.cpp:858
リアルタイムデモ設定リソース
Definition GxResRealTimeDemo.h:23
b32 load(GxStream &, u32)
読み込み
Definition GxResRealTimeDemo.cpp:258
GxRtdProp * getPropertyFromNodeId(u32 PropNodeId)
ノードIDからプロパティを取得
Definition GxResRealTimeDemo.cpp:435
static GxRtti * getKeyType(GxProperty::TYPE type)
Definition GxResRealTimeDemo.cpp:361
GX_FORCE_INLINE GxArrayClassBase * getUnitArray(void)
ユニットの配列を取得
Definition GxResRealTimeDemo.h:171
GxArrayClassBase _unitArray
ユニットArray
Definition GxResRealTimeDemo.h:240
constexpr u32 getEndFrame(void) const
終了フレームの取得
Definition GxResRealTimeDemo.h:163
constexpr u32 getStartFrame(void) const
開始フレームの取得
Definition GxResRealTimeDemo.h:161
GxResRealTimeDemo(void)
デフォルトコンストラクタ
Definition GxResRealTimeDemo.cpp:220
GxRtdUnit * getUnitFromNodeId(u32 UnitNodeId)
ノードIDからユニットを取得
Definition GxResRealTimeDemo.cpp:413
b32 getPropertyHierarchyFromNodeId(u32 propertyNodeId, GxArrayClassBase &result)
ノードIDからプロパティを検索し、親Unitから順に配列に取得
Definition GxResRealTimeDemo.cpp:555
void getMinMaxKeyFrame(u32 &minFrame, u32 &maxFrame, b32 considerPlayRange=true)
キーの存在する最小/最大フレームを取得
Definition GxResRealTimeDemo.cpp:299
b32 getPropertyParent(GxRtdUnit *&pParentUnit, GxRtdProp *&pParentProperty, u32 childPropertyNodeId)
プロパティの親か判定
Definition GxResRealTimeDemo.cpp:748
constexpr u32 getSceneFPS(void) const
シーンに設定されたFPSの取得
Definition GxResRealTimeDemo.h:165
void cleanup(void) override
解放処理
Definition GxResRealTimeDemo.cpp:231
b32 isDescendantProperty(u32 parentPropertyNodeId, u32 descendantPropertyNodeId)
プロパティがプロパティの子孫であるか判定
Definition GxResRealTimeDemo.cpp:687
実行時型情報クラス
Definition GxRtti.h:154
リソース実行時型情報クラス
Definition GxRttiResource.h:188
ストリーム基礎クラス
Definition GxStream.h:20
ユニット基礎クラス
Definition GxUnitBase.h:45
色(HDR)
Definition GxColor.h:241
クォータニオン
Definition GxQuaternion.h:19
文字列型クラス
Definition GxString.h:18
2次元ベクトル
Definition GxVector.h:34
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173