#include<kfbxskeleton.h>
Definition at line61of filekfbxskeleton.h.
Skeleton Properties | |
enum | ESkeletonType |
Skeleton types.More... | |
void | SetSkeletonType(ESkeletonTypepSkeletonType) |
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. | |
K_DEPRECATED bool | SetLimbLength(double pLength) |
Set limb length. | |
K_DEPRECATED double | GetLimbLength() const |
Get limb length. | |
K_DEPRECATED bool | GetLimbLengthIsSet() const |
Get a flag to know if the limb length was set. | |
double | GetLimbLengthDefaultValue() const |
Get the default value for the limb length. | |
K_DEPRECATED bool | SetLimbNodeSize(double pSize) |
Set skeleton limb node size. | |
K_DEPRECATED double | GetLimbNodeSize() const |
Get skeleton limb node size. | |
K_DEPRECATED bool | GetLimbNodeSizeIsSet() const |
Get a flag to know if the limb node size was set. | |
double | GetLimbNodeSizeDefaultValue() const |
Get the default value for the limb node size. | |
bool | SetLimbNodeColor(constKFbxColor&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 toeROOT . |
enumESkeletonType |
Skeleton types.
TheeLIMB_NODEtype is a bone defined uniquely by a transform and a size value while
theeLIMBtype is a bone defined by a transform and a length.
Definition at line88of filekfbxskeleton.h.
virtual EAttributeType GetAttributeType | ( | ) | const[virtual] |
Return the type of node attribute which is EAttributeType::eSKELETON.
Reimplemented fromKFbxNodeAttribute.
void Reset | ( | ) |
Reset the skeleton to default values and type toeROOT
.
void SetSkeletonType | ( | ESkeletonType | pSkeletonType | ) |
Set the skeleton type.
pSkeletonType | Skeleton type identifier. |
ESkeletonTypeGetSkeletonType | ( | ) | const |
Get the skeleton type.
bool GetSkeletonTypeIsSet | ( | ) | const |
Get a flag to know if the skeleton type was set.
true
if a call toSetSkeletonType()has been made.The flag is set back tofalse
whenReset()is called.
ESkeletonTypeGetSkeletonTypeDefaultValue | ( | ) | const |
Get the default value for the skeleton type.
eROOT
K_DEPRECATED bool SetLimbLength | ( | double | pLength | ) |
Set limb length.
pLength | Length of the limb. |
true
if skeleton type iseLIMB
,false
otherwise.eLIMB
.This function is deprecated. Use property LimbLength.Set(pLength) instead.
K_DEPRECATED double GetLimbLength | ( | ) | const |
Get limb length.
eLIMB
.This function is deprecated. Use property LimbLength.Get() instead.
K_DEPRECATED bool GetLimbLengthIsSet | ( | ) | const |
Get a flag to know if the limb length was set.
true
if a call toSetLimbLength()has been made.The flag is set back tofalse
whenReset()is called.
double GetLimbLengthDefaultValue | ( | ) | const |
Get the default value for the limb length.
K_DEPRECATED bool SetLimbNodeSize | ( | double | pSize | ) |
Set skeleton limb node size.
pSize | Size of the limb node. |
K_DEPRECATED double GetLimbNodeSize | ( | ) | const |
Get skeleton limb node size.
K_DEPRECATED bool GetLimbNodeSizeIsSet | ( | ) | const |
Get a flag to know if the limb node size was set.
true
if a call toSetLimbNodeSize()has been made.The flag is set back tofalse
whenReset()is called.
This function is OBSOLETE, DO NOT USE. It will always return false. It will be removed on in the next release.
This function is deprecated. Use property Size instead.
double GetLimbNodeSizeDefaultValue | ( | ) | const |
Get the default value for the limb node size.
bool SetLimbNodeColor | ( | constKFbxColor& | pColor | ) |
Set limb or limb node color.
pColor | RGB values for the limb color. |
true
if skeleton type iseLIMB
oreLIMB_NODE
,false
otherwise.eLIMB
oreLIMB_NODE
.KFbxColorGetLimbNodeColor | ( | ) | const |
Get limb or limb node color.
eLIMB
oreLIMB_NODE
.bool GetLimbNodeColorIsSet | ( | ) | const |
Get a flag to know if the limb node color was set.
true
if a call toSetLimbNodeColor()has been made.The flag is set back tofalse
whenReset()is called.
KFbxColorGetLimbNodeColorDefaultValue | ( | ) | 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 line226of filekfbxskeleton.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 line235of filekfbxskeleton.h.