基準布型セルクラス More...
#include <GxUnitClothBase.h>


Public Member Functions | |
定義 | |
| GX_RTTI_STRUCT (GxUnitClothBase::GxCell) | |
初期化 | |
| GxCell (void) | |
| デフォルトコンストラクタ | |
Public Member Functions inherited from GxUnitSoftbodyBase::GxCell | |
| GX_RTTI_STRUCT (GxUnitSoftbodyBase::GxCell) | |
| GxCell (void) | |
| デフォルトコンストラクタ | |
Public Attributes | |
メンバ変数 | |
| f32 | _defW |
| 右のセルとの基準距離 | |
| f32 | _defH |
| 下のセルとの基準距離 | |
| f32 | _defDl |
| 左下セルとの基準距離 | |
| f32 | _defDr |
| 右下セルとの基準距離 | |
| b32 | _isEnableLink |
| 列間の質点で繋がり(拘束)があるかどうか | |
Public Attributes inherited from GxUnitSoftbodyBase::GxCell | |
| GxVector3 | _position |
| 位置 | |
| GxVector3 | _positionCurrent |
| 現在の位置 | |
| GxVector3 | _positionOld |
| 前の位置 | |
| GxVector3 | _velocity |
| 速度 | |
| GxVector3 | _force |
| 力 | |
| GxVector3 | _normal |
| 法線 | |
| GxVector3 | _gravity |
| 重力 | |
| f32 | _mass |
| 質量 | |
| f32 | _radius |
| 質点半径 - Radius | |
| GxVector3 | _windRatio |
| 風を受ける割合 | |
| b32 | _isFixed |
| 固定点かどうか | |
基準布型セルクラス
布の質点における、共通、最低限必要な情報
追加でデータが必要な場合、派生クラスで追加情報を定義
( GxCell を派生させてしまうと、配列確保しているため正常に動作しない )