OROCHI
 
Loading...
Searching...
No Matches
GxResSoftbodySimulation.h
Go to the documentation of this file.
1//===========================================================================
10//===========================================================================
11#pragma once
12
13GX_UTILITY_NAMESPACE_BEGIN()
14//===========================================================================
16//===========================================================================
18{
19 //-----------------------------------------------------------
21 //-----------------------------------------------------------
23public:
24 // RTTI宣言
25 GX_RTTI_RESOURCE_NAME(GxResSoftbodySimulation, GxResBase, "ソフトボディシミュレーションリソース")
26 // GxClassBaseReference継承クラス用禁止宣言
28
29
35
37
42
44
49
51
56
58 //-----------------------------------------------------------
60 //-----------------------------------------------------------
62
65
67 //-----------------------------------------------------------
69 //-----------------------------------------------------------
71
73 void cleanup(void) override;
74protected:
76 b32 load(GxStream& in, u32 dataSize);
77#if GX_DEVELOP
79 b32 save(GxStream& out);
80#endif // GX_DEVELOP
81
83 //-----------------------------------------------------------
85 //-----------------------------------------------------------
87public:
89 constexpr u32 getChainDataCount(void) const { return _chainDataArray.getCount(); }
91 constexpr u32 getClothDataCount(void) const { return _clothDataArray.getCount(); }
93 constexpr u32 getChainAdditionalDataCount(void) const { return _chainAdditionalDataArray.getCount(); }
95 constexpr u32 getClothAdditionalDataCount(void) const { return _clothAdditionalDataArray.getCount(); }
96
98 GxSoftbodyChainData* getChainData(u32 index);
100 GxSoftbodyChainData* getChainDataFromID(u32 id);
102 GxSoftbodyClothData* getClothData(u32 index);
104 GxSoftbodyClothData* getClothDataFromID(u32 id);
106 GxSoftbodyChainAdditionalData* getChainAdditionalData(u32 index);
108 GxSoftbodyClothAdditionalData* getClothAdditionalData(u32 index);
109
111 GX_FORCE_INLINE GxArrayClassBase& getChainDataArray(void) { return _chainDataArray; }
113 GX_FORCE_INLINE GxArrayClassBase& getClothDataArray(void) { return _clothDataArray; }
115 GX_FORCE_INLINE GxArrayClassBase& getChainAdditionalDataArray(void) { return _chainAdditionalDataArray; }
117 GX_FORCE_INLINE GxArrayClassBase& getClothAdditionalDataArray(void) { return _clothAdditionalDataArray; }
118
120 //-----------------------------------------------------------
122 //-----------------------------------------------------------
124protected:
129
131};
132
133//===========================================================================
135//===========================================================================
136class GxResSoftbodySimulation::GxSoftbodyChainData : public gx::core::GxClassBase
137{
138 //-----------------------------------------------------------
140 //-----------------------------------------------------------
142public:
143 // RTTI 宣言
144 GX_RTTI_CLASS( GxSoftbodyChainData, GxClassBase )
145
146
147 //-----------------------------------------------------------
149 //-----------------------------------------------------------
151
154
156 //-----------------------------------------------------------
158 //-----------------------------------------------------------
160
163 f32 _kt;
164 f32 _kb;
165 f32 _mass;
186 u32 _id;
188
190};
191
192//===========================================================================
194//===========================================================================
195class GxResSoftbodySimulation::GxSoftbodyClothData : public gx::core::GxClassBase
196{
197 //-----------------------------------------------------------
199 //-----------------------------------------------------------
201public:
202 // RTTI宣言
203 GX_RTTI_CLASS( GxSoftbodyClothData, GxClassBase )
204
205
210 class GxTailJointData : public gx::core::GxClassBase
211 {
212 //-----------------------------------------------------------
214 //-----------------------------------------------------------
216 public:
217 // RTTI宣言
218 GX_RTTI_CLASS( GxTailJointData, GxClassBase )
219
220
221 //-----------------------------------------------------------
223 //-----------------------------------------------------------
225
227 GxTailJointData(void) : _tailJointIndex(0), _tailJointOffset( GxVector3(0.1f, 0.0f, 0.0f) ) {}
228
230 //-----------------------------------------------------------
232 //-----------------------------------------------------------
234
237
239 };
240
242 //-----------------------------------------------------------
244 //-----------------------------------------------------------
246
249
251 //-----------------------------------------------------------
253 //-----------------------------------------------------------
255
257 void cleanup(void);
258
260 //-----------------------------------------------------------
262 //-----------------------------------------------------------
264
266 constexpr u32 getTailJointDataCount(void) const { return _tailJointDataArray.getCount(); }
268 const GxTailJointData* getTailJointData(u32 index) const;
270 GxTailJointData* getTailJointData(u32 index);
273
275 GX_FORCE_INLINE u32 getTailJointIndex(u32 index) const { return getTailJointData(index)->_tailJointIndex; }
277 GX_FORCE_INLINE const GxVector3& getTailJointOffset(u32 index) const { return getTailJointData(index)->_tailJointOffset; }
278
280 //-----------------------------------------------------------
282 //-----------------------------------------------------------
284
288 f32 _kt;
289 f32 _ks;
290 f32 _kb;
291 f32 _mass;
312 u32 _id;
314
316};
317
318//===========================================================================
320//===========================================================================
322{
323 //-----------------------------------------------------------
325 //-----------------------------------------------------------
327public:
328 // RTTI宣言
330
331
337 class GxCellData : public gx::core::GxClassBase
338 {
339 //-----------------------------------------------------------
341 //-----------------------------------------------------------
343 public:
344 // RTTI 宣言
345 GX_RTTI_CLASS( GxCellData, GxClassBase )
346
347
348 //-----------------------------------------------------------
350 //-----------------------------------------------------------
352
354 GxCellData(void) : _radius(0.0f), _twistLimit(90.0f), _angleLimit(180.0f), _normal(GxVector3::AXIS_Y), _baseRatio(0.0f), _windReceivedRatio(GxVector3::ONE) {}
355
357 //-----------------------------------------------------------
359 //-----------------------------------------------------------
361
368
370 };
371
373 //-----------------------------------------------------------
375 //-----------------------------------------------------------
377
379 void cleanup(void);
380
382 //-----------------------------------------------------------
384 //-----------------------------------------------------------
386
388 constexpr u32 getCellDataCount(void) const { return _cellDataArray.getCount(); }
390 const GxCellData* getCellData(u32 index) const;
392 GxCellData* getCellData(u32 index);
394 GX_FORCE_INLINE GxArrayClassBase& getCellDataArray(void) { return _cellDataArray; }
395
397 GX_FORCE_INLINE f32 getRadius(u32 index) const { return getCellData(index)->_radius; }
399 GX_FORCE_INLINE f32 getTwistLimit(u32 index) const { return getCellData(index)->_twistLimit; }
401 GX_FORCE_INLINE f32 getAngleLimit(u32 index) const { return getCellData(index)->_angleLimit; }
403 GX_FORCE_INLINE const GxVector3& getNormal(u32 index) const { return getCellData(index)->_normal; }
405 GX_FORCE_INLINE f32 getBaseRatio(u32 index) const { return getCellData(index)->_baseRatio; }
407 GX_FORCE_INLINE GxVector3 getWindRatio(u32 index) const { return getCellData(index)->_windReceivedRatio; }
408
410 //-----------------------------------------------------------
412 //-----------------------------------------------------------
414
416
418};
419
420//===========================================================================
422//===========================================================================
424{
425 //-----------------------------------------------------------
427 //-----------------------------------------------------------
429public:
430 // RTTI宣言
432
433
439 class GxCellData : public gx::core::GxClassBase
440 {
441 //-----------------------------------------------------------
443 //-----------------------------------------------------------
445 public:
446 // RTTI宣言
447 GX_RTTI_CLASS( GxCellData, GxClassBase )
448
449
450 //-----------------------------------------------------------
452 //-----------------------------------------------------------
454
456 GxCellData(void) : _radius(0.0f), _twistLimit(90.0f), _angleLimit(180.0f), _baseRatio(0.0f), _windReceivedRatio(GxVector3::ONE), _isEnableLink(true){}
457
459 //-----------------------------------------------------------
461 //-----------------------------------------------------------
463
470
472 };
473
475 //-----------------------------------------------------------
477 //-----------------------------------------------------------
479
481 void cleanup(void);
482
484 //-----------------------------------------------------------
486 //-----------------------------------------------------------
488
490 constexpr u32 getCellDataCount(void) const { return _cellDataArray.getCount(); }
492 const GxCellData* getCellData(u32 index) const;
494 GxCellData* getCellData(u32 index);
496 GX_FORCE_INLINE GxArrayClassBase& getCellDataArray(void) { return _cellDataArray; }
497
499 GX_FORCE_INLINE f32 getRadius(u32 index) const { return getCellData(index)->_radius; }
501 GX_FORCE_INLINE f32 getTwistLimit(u32 index) const { return getCellData(index)->_twistLimit; }
503 GX_FORCE_INLINE f32 getAngleLimit(u32 index) const { return getCellData(index)->_angleLimit; }
505 GX_FORCE_INLINE f32 getBaseRatio(u32 index) const { return getCellData(index)->_baseRatio; }
507 GX_FORCE_INLINE GxVector3 getWindRatio(u32 index) const { return getCellData(index)->_windReceivedRatio; }
509 GX_FORCE_INLINE b32 isEnableLink(u32 index) const { return getCellData(index)->_isEnableLink; }
510
512 //-----------------------------------------------------------
514 //-----------------------------------------------------------
516
518
520};
521
522#if GX_DEVELOP
523//===========================================================================
525//===========================================================================
526class GxResSoftbodySimulationXml : public GxResSoftbodySimulation
527{
528 //-----------------------------------------------------------
530 //-----------------------------------------------------------
532public:
533 // RTTI宣言
534 GX_RTTI_RESOURCE(GxResSoftbodySimulationXml, GxResSoftbodySimulation)
535 // GxClassBaseReference継承クラス用禁止宣言
536 GX_PROHIBIT_CLASS_BASE_REFERENCE(GxResSoftbodySimulationXml)
537
538
539 //-----------------------------------------------------------
541 //-----------------------------------------------------------
543
545 GxResSoftbodySimulationXml(void);
546
548 //-----------------------------------------------------------
550 //-----------------------------------------------------------
552protected:
554 b32 load(GxStream& in, u32 dataSize);
556 b32 save(GxStream& out);
557
558public:
559#if GX_EDITOR
561 void getToolRtti(GxArray& arrayTool) const override;
562#endif //GX_EDITOR
563
565 //-----------------------------------------------------------
567 //-----------------------------------------------------------
569
571 constexpr GxResModel* getResModel(void) const { return _pResModel; }
573 constexpr void setResModel(GxResModel* pResModel) { _pResModel = pResModel; }
575 constexpr GxResMotionPackage* getResMotionPackage(void) const { return _pResMotionPackage; }
577 constexpr void setResMotionPackage(GxResMotionPackage* pResMotionPackage) { _pResMotionPackage = pResMotionPackage; }
578
580 //-----------------------------------------------------------
582 //-----------------------------------------------------------
584protected:
585 GxResModel* _pResModel;
586 GxResMotionPackage* _pResMotionPackage;
587
589};
590#endif // GX_DEVELOP
591
592GX_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 GxArray.h:18
オブジェクト基底クラス
Definition GxBase.h:88
リソース基底クラス
Definition GxResBase.h:23
モデルリソースクラス
Definition GxResModel.h:20
モーションパッケージリソース
Definition GxResMotionPackage.h:20
質点データクラス
Definition GxResSoftbodySimulation.h:338
f32 _angleLimit
個別質点角度限界設定
Definition GxResSoftbodySimulation.h:364
f32 _baseRatio
基姿勢の割合
Definition GxResSoftbodySimulation.h:366
GxVector3 _normal
個別質点指定法線
Definition GxResSoftbodySimulation.h:365
f32 _radius
個別質点当たり半径
Definition GxResSoftbodySimulation.h:362
GxVector3 _windReceivedRatio
風を受ける割合
Definition GxResSoftbodySimulation.h:367
f32 _twistLimit
個別質点ねじれ限界角度
Definition GxResSoftbodySimulation.h:363
鎖用追加データ(質点個別データ)
Definition GxResSoftbodySimulation.h:322
const GxCellData * getCellData(u32 index) const
個別質点情報取得
Definition GxResSoftbodySimulation.cpp:367
GX_FORCE_INLINE GxArrayClassBase & getCellDataArray(void)
個別質点情報管理配列取得
Definition GxResSoftbodySimulation.h:394
GX_FORCE_INLINE const GxVector3 & getNormal(u32 index) const
個別質点情報取得 - 法線
Definition GxResSoftbodySimulation.h:403
GX_FORCE_INLINE f32 getBaseRatio(u32 index) const
個別質点情報取得 - 基姿勢の割合
Definition GxResSoftbodySimulation.h:405
GX_FORCE_INLINE f32 getAngleLimit(u32 index) const
個別質点情報取得 - 回転限界角度
Definition GxResSoftbodySimulation.h:401
constexpr u32 getCellDataCount(void) const
個別質点情報数取得
Definition GxResSoftbodySimulation.h:388
GX_FORCE_INLINE GxVector3 getWindRatio(u32 index) const
個別質点情報取得 - 風を受ける割合
Definition GxResSoftbodySimulation.h:407
GX_FORCE_INLINE f32 getRadius(u32 index) const
個別質点情報取得 - 半径
Definition GxResSoftbodySimulation.h:397
void cleanup(void)
保持しているデータを解放
Definition GxResSoftbodySimulation.cpp:353
GxArrayClassBase _cellDataArray
個別質点情報
Definition GxResSoftbodySimulation.h:415
GX_FORCE_INLINE f32 getTwistLimit(u32 index) const
個別質点情報取得 - ねじれ限界角度
Definition GxResSoftbodySimulation.h:399
鎖データクラス
Definition GxResSoftbodySimulation.h:137
GxVector3 _windDirection
風の向き的な
Definition GxResSoftbodySimulation.h:180
f32 _moveStrengthCoefficient
Y軸平行移動量への係数
Definition GxResSoftbodySimulation.h:173
f32 _twistInterpolateSpeed
ねじれ補間速度
Definition GxResSoftbodySimulation.h:177
GxVector3 _adjustGravityDirection
補整重力方向
Definition GxResSoftbodySimulation.h:184
f32 _adjustGravityBlendRate
ローカル重力と補整重力のブレンド率(デフォルトは0.0fで、ローカル重力のみ利用)
Definition GxResSoftbodySimulation.h:185
f32 _airDamping
空気抵抗値
Definition GxResSoftbodySimulation.h:166
f32 _gravityForce
重力大きさ
Definition GxResSoftbodySimulation.h:181
GxVector3 _gravityDirection
重力方向
Definition GxResSoftbodySimulation.h:182
u32 _tailJointIndex
末端関節番号
Definition GxResSoftbodySimulation.h:175
b32 _excludeTailJointSkin
末端以外のジョイントをシミュレーション
Definition GxResSoftbodySimulation.h:187
u32 _moveStrength[2]
固定点の移動を他点へ伝える強さ
Definition GxResSoftbodySimulation.h:172
f32 _updateDelta
更新間隔
Definition GxResSoftbodySimulation.h:167
u32 _id
任意ID
Definition GxResSoftbodySimulation.h:186
f32 _windForce
風の大きさ的な
Definition GxResSoftbodySimulation.h:179
f32 _kb
バネ定数 - 曲げにくさ
Definition GxResSoftbodySimulation.h:164
u32 _jointCount
ボーン群の関節数
Definition GxResSoftbodySimulation.h:162
b32 _isUseMotionGravity
モーション収束フラグ
Definition GxResSoftbodySimulation.h:170
f32 _mass
総重量
Definition GxResSoftbodySimulation.h:165
b32 _isChainSimulation
最初からシミュレート開始するか否か
Definition GxResSoftbodySimulation.h:168
b32 _isUpdateAllMatrix
UpdateWorldMatrix するかどうか
Definition GxResSoftbodySimulation.h:169
b32 _isUseAdditionalData
追加情報の有無
Definition GxResSoftbodySimulation.h:176
GxVector3 _tailJointOffset
末端関節のオフセット
Definition GxResSoftbodySimulation.h:174
b32 _isUsetailJointId
末端関節番号でIDを使用するか
Definition GxResSoftbodySimulation.h:183
b32 _isRandom
乱数を使用するかどうか
Definition GxResSoftbodySimulation.h:178
u32 _processOffset
処理順のオフセット
Definition GxResSoftbodySimulation.h:161
GxSoftbodyChainData(void)
デフォルトコンストラクタ
Definition GxResSoftbodySimulation.cpp:224
b32 _isLocalWind
風向きを親ユニットのローカルで扱うかどうか
Definition GxResSoftbodySimulation.h:171
f32 _kt
バネ定数 - 伸びにくさ
Definition GxResSoftbodySimulation.h:163
質点データクラス
Definition GxResSoftbodySimulation.h:440
f32 _angleLimit
個別質点角度限界設定
Definition GxResSoftbodySimulation.h:466
f32 _baseRatio
基姿勢の割合
Definition GxResSoftbodySimulation.h:467
b32 _isEnableLink
列間の質点で繋がり(拘束)があるかどうか
Definition GxResSoftbodySimulation.h:469
GxVector3 _windReceivedRatio
風を受ける割合
Definition GxResSoftbodySimulation.h:468
f32 _radius
個別質点当たり半径
Definition GxResSoftbodySimulation.h:464
f32 _twistLimit
個別質点ねじれ限界角度
Definition GxResSoftbodySimulation.h:465
布用追加データ(質点個別データ)
Definition GxResSoftbodySimulation.h:424
GX_FORCE_INLINE GxVector3 getWindRatio(u32 index) const
個別質点情報取得 - 風を受ける割合
Definition GxResSoftbodySimulation.h:507
GX_FORCE_INLINE b32 isEnableLink(u32 index) const
列間の質点で繋がり(拘束)があるかどうか
Definition GxResSoftbodySimulation.h:509
constexpr u32 getCellDataCount(void) const
個別質点情報数取得
Definition GxResSoftbodySimulation.h:490
GX_FORCE_INLINE f32 getRadius(u32 index) const
個別質点情報取得 - 半径
Definition GxResSoftbodySimulation.h:499
const GxCellData * getCellData(u32 index) const
個別質点情報取得
Definition GxResSoftbodySimulation.cpp:434
GxArrayClassBase _cellDataArray
個別質点情報
Definition GxResSoftbodySimulation.h:517
GX_FORCE_INLINE GxArrayClassBase & getCellDataArray(void)
個別質点情報管理配列取得
Definition GxResSoftbodySimulation.h:496
void cleanup(void)
保持しているデータを解放
Definition GxResSoftbodySimulation.cpp:420
GX_FORCE_INLINE f32 getBaseRatio(u32 index) const
個別質点情報取得 - 基姿勢の割合
Definition GxResSoftbodySimulation.h:505
GX_FORCE_INLINE f32 getTwistLimit(u32 index) const
個別質点情報取得 - ねじれ限界角度
Definition GxResSoftbodySimulation.h:501
GX_FORCE_INLINE f32 getAngleLimit(u32 index) const
個別質点情報取得 - 回転限界角度
Definition GxResSoftbodySimulation.h:503
末端関節データクラス
Definition GxResSoftbodySimulation.h:211
u32 _tailJointIndex
末端関節番号
Definition GxResSoftbodySimulation.h:235
GxVector3 _tailJointOffset
末端関節のオフセット
Definition GxResSoftbodySimulation.h:236
布データクラス
Definition GxResSoftbodySimulation.h:196
f32 _airDamping
空気抵抗値
Definition GxResSoftbodySimulation.h:292
f32 _moveStrengthCoefficient
Y軸平行移動量への係数
Definition GxResSoftbodySimulation.h:300
u32 _moveStrength[2]
固定点の移動を他点へ伝える強さ
Definition GxResSoftbodySimulation.h:299
f32 _kb
バネ定数 - 曲げにくさ
Definition GxResSoftbodySimulation.h:290
GxVector3 _gravityDirection
重力方向
Definition GxResSoftbodySimulation.h:307
f32 _updateDelta
更新間隔
Definition GxResSoftbodySimulation.h:293
b32 _isUseAdditionalData
追加情報の有無
Definition GxResSoftbodySimulation.h:301
u32 _lineCount
全関節リスト数
Definition GxResSoftbodySimulation.h:286
void cleanup(void)
保持しているデータを解放
Definition GxResSoftbodySimulation.cpp:290
b32 _isUsetailJointId
末端関節番号でIDを使用するか
Definition GxResSoftbodySimulation.h:308
f32 _windForce
風の大きさ的な
Definition GxResSoftbodySimulation.h:304
f32 _twistInterpolateSpeed
ねじれ補間速度
Definition GxResSoftbodySimulation.h:302
u32 _jointCount
各関節リストの関節数(今は全部同じに)
Definition GxResSoftbodySimulation.h:287
b32 _isRandom
乱数を使用するかどうか
Definition GxResSoftbodySimulation.h:303
b32 _isSkirt
スカートかどうか(端と端が繋がっているかどうか)
Definition GxResSoftbodySimulation.h:297
b32 _isLocalWind
風向きを親ユニットのローカルで扱うかどうか
Definition GxResSoftbodySimulation.h:298
f32 _ks
バネ定数 - せん断力
Definition GxResSoftbodySimulation.h:289
f32 _kt
バネ定数 - 伸びにくさ
Definition GxResSoftbodySimulation.h:288
f32 _mass
総重量
Definition GxResSoftbodySimulation.h:291
GxVector3 _adjustGravityDirection
補整重力方向
Definition GxResSoftbodySimulation.h:310
GxVector3 _windDirection
風の向き的な
Definition GxResSoftbodySimulation.h:305
b32 _isClothSimulation
最初からシミュレート開始するか否か
Definition GxResSoftbodySimulation.h:294
const GxTailJointData * getTailJointData(u32 index) const
末端関節番号取得
Definition GxResSoftbodySimulation.cpp:304
GxArrayClassBase _tailJointDataArray
末端関節ごとに必要な情報
Definition GxResSoftbodySimulation.h:309
u32 _id
任意ID
Definition GxResSoftbodySimulation.h:312
GX_FORCE_INLINE u32 getTailJointIndex(u32 index) const
個別末端関節番号取得
Definition GxResSoftbodySimulation.h:275
GX_FORCE_INLINE GxArrayClassBase & getTailJointDataArray(void)
末端関節番号管理配列取得
Definition GxResSoftbodySimulation.h:272
constexpr u32 getTailJointDataCount(void) const
末端関節番号数取得
Definition GxResSoftbodySimulation.h:266
GX_FORCE_INLINE const GxVector3 & getTailJointOffset(u32 index) const
個別末端関節オフセット取得
Definition GxResSoftbodySimulation.h:277
f32 _gravityForce
重力大きさ
Definition GxResSoftbodySimulation.h:306
f32 _adjustGravityBlendRate
ローカル重力と補整重力のブレンド率(デフォルトは0.0fで、ローカル重力のみ利用)
Definition GxResSoftbodySimulation.h:311
b32 _isUseMotionGravity
モーション収束フラグ
Definition GxResSoftbodySimulation.h:296
u32 _processOffset
処理順のオフセット
Definition GxResSoftbodySimulation.h:285
b32 _isUpdateAllMatrix
UpdateWorldMatrix するかどうか
Definition GxResSoftbodySimulation.h:295
GxSoftbodyClothData(void)
デフォルトコンストラクタ
Definition GxResSoftbodySimulation.cpp:275
b32 _excludeTailJointSkin
末端以外のジョイントをシミュレーション
Definition GxResSoftbodySimulation.h:313
モデル対応物理シミュレーション統合リソースクラス
Definition GxResSoftbodySimulation.h:18
GX_FORCE_INLINE GxArrayClassBase & getChainAdditionalDataArray(void)
鎖追加データ管理配列取得
Definition GxResSoftbodySimulation.h:115
GX_FORCE_INLINE GxArrayClassBase & getClothAdditionalDataArray(void)
布追加データ管理配列取得
Definition GxResSoftbodySimulation.h:117
GxArrayClassBase _clothAdditionalDataArray
布追加データ管理配列
Definition GxResSoftbodySimulation.h:128
GxArrayClassBase _clothDataArray
布データ管理配列
Definition GxResSoftbodySimulation.h:126
constexpr u32 getClothAdditionalDataCount(void) const
布追加データ数取得
Definition GxResSoftbodySimulation.h:95
GxArrayClassBase _chainAdditionalDataArray
鎖追加データ管理配列
Definition GxResSoftbodySimulation.h:127
GX_FORCE_INLINE GxArrayClassBase & getClothDataArray(void)
布データ管理配列取得
Definition GxResSoftbodySimulation.h:113
constexpr u32 getChainAdditionalDataCount(void) const
鎖追加データ数取得
Definition GxResSoftbodySimulation.h:93
constexpr u32 getClothDataCount(void) const
布データ数取得
Definition GxResSoftbodySimulation.h:91
b32 load(GxStream &in, u32 dataSize)
リソースのロード
Definition GxResSoftbodySimulation.cpp:72
constexpr u32 getChainDataCount(void) const
鎖データ数取得
Definition GxResSoftbodySimulation.h:89
GX_FORCE_INLINE GxArrayClassBase & getChainDataArray(void)
鎖データ管理配列取得
Definition GxResSoftbodySimulation.h:111
GxArrayClassBase _chainDataArray
鎖データ管理配列
Definition GxResSoftbodySimulation.h:125
ストリーム基礎クラス
Definition GxStream.h:20
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173