13GX_UTILITY_NAMESPACE_BEGIN()
15#if SOFTBODY_USE_REPLAY
19class GxResSoftbodySimulationReplay :
public GxResBase
37 class GxJointIndex :
public gx::core::GxClassBase
54 GxJointIndex(
void) : _jointIndex(0) {}
56 GxJointIndex(u32 i) : _jointIndex(i) {}
74 class GxJointQuaternion :
public gx::core::GxClassBase
93 GxJointQuaternion(
const GxQuaternion& quaternion) : _jointQuaternion( quaternion ) {}
113 GxResSoftbodySimulationReplay(
void);
135 constexpr u32 getFrameCount(
void)
const {
return _frameCount; }
137 constexpr void setFrameCount(u32 count) { _frameCount = count; }
140 constexpr u32 getJointIndexCount(
void)
const {
return _jointIndexArray.getCount(); }
142 u32 getJointIndex(u32 index);
144 GX_FORCE_INLINE
GxArrayClassBase& getJointIndexArray(
void) {
return _jointIndexArray; }
147 constexpr u32 getJointQuaternionCount(
void)
const {
return _jointQuaternionArray.
getCount(); }
151 GX_FORCE_INLINE
GxArrayClassBase& getJointQuaternionArray(
void) {
return _jointQuaternionArray; }
169class GxResSoftbodySimulationReplayXml :
public GxResSoftbodySimulationReplay
177 GX_RTTI_RESOURCE(GxResSoftbodySimulationReplayXml, GxResSoftbodySimulationReplay);
188 GxResSoftbodySimulationReplayXml(
void);
197 void cleanup(
void)
override;
212GX_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
オブジェクト基底クラス
Definition GxBase.h:88
リソース基底クラス
Definition GxResBase.h:23
b32 load(GxStream &stream, u32 size)
ロード
Definition GxResBase.h:394
ストリーム基礎クラス
Definition GxStream.h:20
クォータニオン
Definition GxQuaternion.h:19
32bitブーリアン
Definition GxDefine.h:173