14GX_MOTION_NAMESPACE_BEGIN()
40 void cleanup(
void)
override;
54 static b32 isModified(
GxStream& stream, u64 lastWriteTime, GX_CSTR resourcePath);
64 constexpr void*
getResource(
void)
const {
return _pReadBuffer; }
68 static void getReplaceOriginalPath(
GxString& dst, GX_CSTR src);
70 static void getFinalPath(
GxString& dst, GX_CSTR src);
76 GX_FORCE_INLINE GxMotionNamesList& getMotionNamesList(
void){
return _motionNamesList; }
88 GxMotionNamesList _motionNamesList;
117 GxResMotionPackageGmp(
void){}
151 static constexpr u32 MOTION_NUM_MAX = 128;
173 GxMotionConvertParam(
void);
175 virtual ~GxMotionConvertParam(
void){}
193 GX_FORCE_INLINE
b32 getOutputIsNotFoundAnimationJointSetBasepose(
void)
const {
return _outputIsNotFoundAnimationJointSetBasepose; }
195 GX_FORCE_INLINE
void setOutputIsNotFoundAnimationJointSetBasepose(
b32 value) { _outputIsNotFoundAnimationJointSetBasepose = value; }
197 GX_FORCE_INLINE
b32 getOutputIsLocatorRotationMaya(
void)
const {
return _outputIsLocatorRotationMaya; }
199 GX_FORCE_INLINE
void setOutputIsLocatorRotationMaya(
b32 value) { _outputIsLocatorRotationMaya = value; }
202 GX_FORCE_INLINE
b32 getCompress(
void)
const {
return _isCompress; }
204 GX_FORCE_INLINE
void setCompress(
b32 value) { _isCompress = value; }
206 constexpr s32 getCompressBitWithTranslate(
void)
const {
return _compressBitWithTranslate; }
208 constexpr void setCompressBitWithTranslate(s32 value) { _compressBitWithTranslate = value; }
210 constexpr s32 getCompressBitWithRotate(
void)
const {
return _compressBitWithRotate; }
212 constexpr void setCompressBitWithRotate(s32 value) { _compressBitWithRotate = value; }
214 constexpr s32 getCompressBitWithScale(
void)
const {
return _compressBitWithScale; }
216 constexpr void setCompressBitWithScale(s32 value) { _compressBitWithScale = value; }
218 GX_FORCE_INLINE
GxString& getAttributeFaceName(
void) {
return _attributeFaceName; }
220 GX_FORCE_INLINE
void setAttributeFaceName(
const GxString& name) { _attributeFaceName = name; }
222 GX_FORCE_INLINE
GxString& getAttributeUpperBodyName(
void) {
return _attributeUpperBodyName; }
224 GX_FORCE_INLINE
void setAttributeUppderBodyName(
const GxString& name) { _attributeUpperBodyName = name; }
226 GX_FORCE_INLINE
GxString& getAttributeLowerBodyName(
void) {
return _attributeLowerBodyName; }
228 GX_FORCE_INLINE
void setAttributeLowerBodyName(
const GxString& name) { _attributeLowerBodyName = name; }
236 b32 _outputIsNotFoundAnimationJointSetBasepose;
237 b32 _outputIsLocatorRotationMaya;
240 s32 _compressBitWithTranslate;
241 s32 _compressBitWithRotate;
242 s32 _compressBitWithScale;
257 GxResMotionPackageXml(
void);
275 void initializeConvert(
void);
277 void terminateConvert(
void);
287 void getToolRtti(
GxArray& arrayTool )
const override;
291 GX_FORCE_INLINE
GxString& getBaseMotionPath(
void) {
return _baseMotionPath; }
293 GX_FORCE_INLINE
void setBaseMotionPath(
const GxString& value ) { _baseMotionPath = value; }
295 GX_FORCE_INLINE
GxString& getMotionPath(u32 index) {
return _motionPathArray[index]; }
297 GX_FORCE_INLINE
void setMotionPath( u32 index,
const GxString& value ) { _motionPathArray[index] = value; }
299 constexpr GxMotionConvertParam* getMotionConvertParam(
void) {
return _pMotionConvertParam; }
308 GxString _motionPathArray[MOTION_NUM_MAX];
310 GxMotionConvertParam* _pMotionConvertParam;
317GX_MOTION_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE_REFERENCE(__CLASS__)
GxClassBaseReference継承の禁止宣言(new以外の生成禁止 + コピー禁止)
Definition GxBase.h:244
#define GX_PROHIBIT_CLASS_BASE(__CLASS__)
GxClassBase継承の禁止宣言
Definition GxBase.h:240
void GxTypedObject
その他
Definition GxDefine.h:213
#define GX_RTTI_RESOURCE(__THIS__, __BASE__)
リソースクラス型情報宣言
Definition GxRttiResource.h:102
配列クラス
Definition GxArray.h:18
オブジェクト基底クラス
Definition GxBase.h:88
プロパティクラス
Definition GxProperty.h:48
リソース基底クラス
Definition GxResBase.h:23
モーションパッケージリソース
Definition GxResMotionPackage.h:20
void cleanup(void) override
解放
Definition GxResMotionPackage.cpp:39
u32 _fileSize
ファイルサイズ
Definition GxResMotionPackage.h:86
constexpr u32 getResourceSize(void) const
リソースのサイズを取得
Definition GxResMotionPackage.h:66
b32 load(GxStream &stream, u32 dataSize)
ロード関数 (loads .gmp file entirely)
Definition GxResMotionPackage.cpp:51
void * _pReadBuffer
読み込みバッファ
Definition GxResMotionPackage.h:85
constexpr void * getResource(void) const
モデルリソースへのアクセサを取得
Definition GxResMotionPackage.h:64
実行時型情報クラス
Definition GxRtti.h:154
ストリーム基礎クラス
Definition GxStream.h:20
文字列型クラス
Definition GxString.h:18
32bitブーリアン
Definition GxDefine.h:173