#include
<kfbxskeleton.h>
Definition at line 57 of file kfbxskeleton.h.
Skeleton Properties |
|
enum | ESkeletonType |
Skeleton types. More... |
|
void | SetSkeletonType (ESkeletonType pSkeletonType) |
Set the skeleton type. |
|
ESkeletonType | GetSkeletonType () const |
Get the skeleton type. |
|
bool | GetSkeletonTypeIsSet () const |
Get a flag to know if the skeleton type was
set. |
|
ESkeletonType | GetSkeletonTypeDefaultValue () const |
Get the default value for the skeleton type.
|
|
double | GetLimbLengthDefaultValue () const |
Get the default value for the limb length.
|
|
double | GetLimbNodeSizeDefaultValue () const |
Get the default value for the limb node
size. |
|
bool | SetLimbNodeColor (const KFbxColor &pColor) |
Set limb or limb node color. |
|
KFbxColor | GetLimbNodeColor () const |
Get limb or limb node color. |
|
bool | GetLimbNodeColorIsSet () const |
Get a flag to know if the limb node color
was set. |
|
KFbxColor | GetLimbNodeColorDefaultValue () const |
Get the default value for the limb node
color. |
|
Property Names |
|
static const char * | sSize |
static const char * | sLimbLength |
Property Default Values |
|
static const fbxDouble1 | sDefaultSize |
static const fbxDouble1 | sDefaultLimbLength |
KFbxTypedProperty< fbxDouble1 > | Size |
This property handles the limb node size.
|
|
KFbxTypedProperty< fbxDouble1 > | LimbLength |
This property handles the skeleton limb
length. |
|
Public Member Functions |
|
virtual EAttributeType | GetAttributeType () const |
Return the type of node attribute which is
EAttributeType::eSKELETON. |
|
void | Reset () |
Reset the skeleton to default values and
type to eROOT . |
enum ESkeletonType |
Skeleton types.
The eLIMB_NODE type is a bone defined uniquely by a transform and a size value while
the eLIMB type is a bone defined by a transform and a length.
Definition at line 84 of file kfbxskeleton.h.
virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute which is EAttributeType::eSKELETON.
Reimplemented from KFbxNodeAttribute.
void Reset | ( | ) |
Reset the skeleton to default values and type to
eROOT
.
void SetSkeletonType | ( | ESkeletonType | pSkeletonType | ) |
Set the skeleton type.
pSkeletonType | Skeleton type identifier. |
ESkeletonType GetSkeletonType | ( | ) | const |
Get the skeleton type.
bool GetSkeletonTypeIsSet | ( | ) | const |
Get a flag to know if the skeleton type was set.
true
if a call to SetSkeletonType() has been made.The flag is set back to false
when Reset()
is called.
ESkeletonType GetSkeletonTypeDefaultValue | ( | ) | const |
Get the default value for the skeleton type.
eROOT
double GetLimbLengthDefaultValue | ( | ) | const |
Get the default value for the limb length.
double GetLimbNodeSizeDefaultValue | ( | ) | const |
Get the default value for the limb node size.
bool SetLimbNodeColor | ( | const KFbxColor & | pColor | ) |
Set limb or limb node color.
pColor | RGB values for the limb color. |
true
if skeleton type is eLIMB
or
eLIMB_NODE
, false
otherwise.eLIMB
or eLIMB_NODE
.KFbxColor GetLimbNodeColor | ( | ) | const |
Get limb or limb node color.
eLIMB
or eLIMB_NODE
.bool GetLimbNodeColorIsSet | ( | ) | const |
Get a flag to know if the limb node color was set.
true
if a call to SetLimbNodeColor() has been
made.The flag is set back to false
when Reset()
is called.
KFbxColor GetLimbNodeColorDefaultValue | ( | ) | const |
Get the default value for the limb node color.
KFbxTypedProperty<fbxDouble1> Size |
This property handles the limb node size.
To access this property do: Size.Get(). To set this property do: Size.Set(fbxDouble1).
Default value is 100.0
Definition at line 179 of file kfbxskeleton.h.
KFbxTypedProperty<fbxDouble1> LimbLength |
This property handles the skeleton limb length.
To access this property do: LimbLength.Get(). To set this property do: LimbLength.Set(fbxDouble1).
Default value is 1.0
Definition at line 188 of file kfbxskeleton.h.