3#include <lib/nw4r/g3d/anm_obj.hpp>
4#include <lib/nw4r/g3d/res_anm.hpp>
5#include <lib/nw4r/math/vec.hpp>
6#include <lib/nw4r/math/mtx.hpp>
8#include <lib/rvl/mem/MEMHeapCommon.h>
56 virtual void DetachAll();
57 virtual void SetWeight(
int,
float);
58 virtual float GetWeight(
int)
const;
80 int getCount()
const {
return a; }
3D graphics drawing library.
Character animation result.
u32 mFlags
The attributes held by the character animation result data. See Flag.
nw4r::math::MTX34 mMtx
The matrix for rotation and translation.
Flag
Information flags related to the character animation result.
@ FLAG_RAW_ROTATE_VALID
An appropriate value is stored in ChrAnmResult::mRotation.
@ FLAG_TRANS_ZERO
The translation is always 0.
@ FLAG_SEGMENT_SCALE_COMPENSATE_APPLY
Scale calculations at this node must involve Maya's Segment Scale Compensate.
@ FLAG_SCALE_ONE
The scale is always 1.
@ FLAG_ROTATE_ZERO
The rotation is always 0.
@ FLAG_CLASSIC_SCALE_OFF
Softimage's Classic Scale Off must be taken into account for scale calculations at this node.
@ FLAG_ROTATE_USE_MODEL
The model's value is used for the rotation, and a result is not stored in ChrAnmResult::mMtx.
@ FLAG_SEGMENT_SCALE_COMPENSATE_PARENT
One of this node's child nodes will involve Maya's Segment Scale Compensate in scale calculations.
@ FLAG_SCALE_UNIFORM
The scale is always the same along all axes.
@ FLAG_ANM_EXISTS
The animation exists.
@ FLAG_TRANS_USE_MODEL
The model's value is used for the translation, and a result is not stored in ChrAnmResult::mMtx.
@ FLAG_RT_ZERO
The rotation and translation are always 0.
@ FLAG_SCALE_USE_MODEL
The model's value is used for the scale, and a result is not stored in ChrAnmResult::mScale.
@ FLAG_IDENTITY
The node's matrix is always an identity matrix.
nw4r::math::VEC3 mRotation
The result rotation.
nw4r::math::VEC3 mScale
The result scale.
A three-dimensional floating point vector.