#include <kfbxmarker.h>
Inherits KFbxNodeAttribute.
Inheritance diagram for KFbxMarker:
Definition at line 67 of file kfbxmarker.h.
Default Animation Values | |
This set of functions provides direct access to default animation values specific to a marker.
The default animation values are found in the default take node of the associated node. Hence, these functions only work if the marker has been associated with a node. | |
double | GetDefaultOcclusion () const |
Get default occlusion. | |
void | SetDefaultOcclusion (double pOcclusion) |
Set default occlusion. | |
double | GetDefaultIKReachTranslation () const |
Get default IK reach translation. | |
void | SetDefaultIKReachTranslation (double pIKReachTranslation) |
Set default IK reach translation. | |
double | GetDefaultIKReachRotation () const |
Get default IK reach rotation. | |
void | SetDefaultIKReachRotation (double pIKReachRotation) |
Set default IK reach rotation. | |
Obsolete functions | |
KFbxColor & | GetDefaultColor (KFbxColor &pColor) const |
Get default color. | |
void | SetDefaultColor (KFbxColor &pColor) |
Set default color. | |
Public Types | |
enum | EType |
Marker types. More... | |
enum | ELook |
Marker look. More... | |
Public Member Functions | |
virtual EAttributeType | GetAttributeType () const |
Return the type of node attribute which is EAttributeType::eMARKER. | |
void | Reset () |
Reset the marker to default values. | |
void | SetType (EType pType) |
Set marker type. | |
EType | GetType () const |
Get marker type. | |
void | SetLook (ELook pLook) |
Set marker look. | |
ELook | GetLook () const |
Get marker look. | |
void | SetSize (double pSize) |
Set marker size. | |
double | GetSize () const |
Get marker size. | |
void | SetColor (KFbxColor pColor) |
Set marker color. | |
KFbxColor | GetColor () const |
Get marker color. | |
void | SetShowLabel (bool pShowLabel) |
Set whether a marker label is shown. | |
bool | GetShowLabel () const |
Get whether a marker label is shown. | |
void | SetIKPivot (KFbxVector4 &pIKPivot) |
Set the IK pivot position. | |
KFbxVector4 | GetIKPivot () const |
Get the IK pivot position. |
enum EType |
Marker types.
Definition at line 84 of file kfbxmarker.h.
enum ELook |
virtual EAttributeType GetAttributeType | ( | ) | const [virtual] |
Return the type of node attribute which is EAttributeType::eMARKER.
Reimplemented from KFbxNodeAttribute.
void Reset | ( | ) |
Reset the marker to default values.
void SetType | ( | EType | pType | ) |
Set marker type.
pType | The type of marker. |
EType GetType | ( | ) | const |
Get marker type.
void SetLook | ( | ELook | pLook | ) |
Set marker look.
pLook | The look of the marker. |
ELook GetLook | ( | ) | const |
Get marker look.
void SetSize | ( | double | pSize | ) |
Set marker size.
pSize | The size of the marker. |
double GetSize | ( | ) | const |
Get marker size.
void SetColor | ( | KFbxColor | pColor | ) |
Set marker color.
pColor | The color used to display the marker. |
Reimplemented from KFbxNodeAttribute.
KFbxColor GetColor | ( | ) | const |
Get marker color.
void SetShowLabel | ( | bool | pShowLabel | ) |
Set whether a marker label is shown.
pShowLabel | If set to true the marker label is visible. |
bool GetShowLabel | ( | ) | const |
Get whether a marker label is shown.
true
if the marker label is visible. void SetIKPivot | ( | KFbxVector4 & | pIKPivot | ) |
Set the IK pivot position.
pIKPivot | The translation in local coordinates. |
KFbxVector4 GetIKPivot | ( | ) | const |
Get the IK pivot position.
double GetDefaultOcclusion | ( | ) | const |
Get default occlusion.
void SetDefaultOcclusion | ( | double | pOcclusion | ) |
Set default occlusion.
pOcclusion | 0.0 if optical marker animation is valid by default, 1.0 if it is occluded by default. |
double GetDefaultIKReachTranslation | ( | ) | const |
Get default IK reach translation.
void SetDefaultIKReachTranslation | ( | double | pIKReachTranslation | ) |
Set default IK reach translation.
pIKReachTranslation | A value between 0.0 and 100.0, 100.0 means complete IK reach. |
double GetDefaultIKReachRotation | ( | ) | const |
Get default IK reach rotation.
void SetDefaultIKReachRotation | ( | double | pIKReachRotation | ) |
Set default IK reach rotation.
pIKReachRotation | A value between 0.0 and 100.0, 100.0 means complete IK reach. |
Get default color.
void SetDefaultColor | ( | KFbxColor & | pColor | ) |
Set default color.