関節構造体 More...
#include <GxUnitModelBase.h>
Public Types | |
定義 | |
enum class | ATTRIBUTE { WORLD , SEGMENT_SCALE_COMPENSATE , MAX } |
Public Member Functions | |
初期化 | |
GxJoint (void) | |
デフォルトコンストラクタ | |
操作 | |
void | updateLocalMatrix (void) |
ローカルマトリクスの更新 | |
void | updateWorldMatrix (const GxMatrixAffine &worldMatrix) |
ワールドマトリクスの更新 | |
アクセサ | |
constexpr u32 | getIndex (void) const |
インデックスを取得 | |
constexpr void | setIndex (u32 index) |
インデックスを設定 | |
constexpr s32 | getId (void) const |
IDを取得 | |
constexpr void | setId (s32 id) |
IDを設定 | |
constexpr GX_CSTR | getName (void) const |
名前を取得 | |
constexpr void | setName (GX_CSTR name) |
名前を設定 | |
constexpr GxJoint * | getParentJoint (void) const |
親関節を取得 | |
constexpr void | setParentJoint (GxJoint *pJoint) |
親関節を設定 | |
constexpr GxJoint * | getChildJoint (void) const |
子関節を取得 | |
constexpr void | setChildJoint (GxJoint *pJoint) |
子関節を設定 | |
constexpr GxJoint * | getBrotherJoint (void) const |
弟関節を取得 | |
constexpr void | setBrotherJoint (GxJoint *pJoint) |
弟関節を設定 | |
GX_FORCE_INLINE const GxMatrixAffine & | getLocalMatrix (void) const |
ローカルマトリクスを取得 | |
GX_FORCE_INLINE void | setLocalMatrix (const GxMatrixAffine &localMatrix) |
ローカルマトリクスを設定 | |
GX_FORCE_INLINE void | setLocalMatrix (const GxMatrixAffine &localMatrix, const GxVector3 &offset) |
ローカルマトリクスを設定 | |
GX_FORCE_INLINE const GxMatrixAffine & | getWorldMatrix (void) const |
ワールドマトリクスを取得 | |
GX_FORCE_INLINE void | setWorldMatrix (const GxMatrixAffine &worldMatrix) |
ワールドマトリクスを設定 | |
GX_FORCE_INLINE const GxMatrixAffine & | getOrientMatrix (void) const |
オリエントマトリクスを取得 | |
GX_FORCE_INLINE void | setOrientMatrix (const GxMatrixAffine *pMatrix) |
オリエントマトリクスを取得 | |
GX_FORCE_INLINE const GxMatrixAffine & | getInversMatrix (void) const |
スキニング用逆マトリクスを取得 | |
GX_FORCE_INLINE void | setInversMatrix (const GxMatrixAffine *pMatrix) |
スキニング用逆マトリクスを取得 | |
GX_FORCE_INLINE const GxVector3 & | getPosition (void) const |
座標の取得 | |
GX_FORCE_INLINE void | setPosition (const GxVector3 &position) |
座標の設定 | |
GX_FORCE_INLINE const GxQuaternion & | getQuaternion (void) const |
クォータニオンの取得 | |
GX_FORCE_INLINE void | setQuaternion (const GxQuaternion &quaternion) |
クォータニオンの設定 | |
GX_FORCE_INLINE const GxVector3 & | getScale (void) const |
スケールの取得 | |
GX_FORCE_INLINE void | setScale (const GxVector3 &scale) |
スケールの設定 | |
GX_FORCE_INLINE b32 | isAttribute (ATTRIBUTE attribute) const |
属性の取得 | |
GX_FORCE_INLINE void | setAttribute (ATTRIBUTE attribute, b32 enable) |
属性の設定 | |
Additional Inherited Members | |
![]() | |
static GxRtti & | __getStaticRtti (void) |
関節構造体
|
strong |
void GxUnitModelBase::GxJoint::updateWorldMatrix | ( | const GxMatrixAffine & | worldMatrix | ) |
ワールドマトリクスの更新
worldMatrix | [in] ワールドマトリクス |