#include<kfbxmarker.h>
Definition at line59of filekfbxmarker.h.
Property Names | |
static const char * | sLook |
static const char * | sSize |
static const char * | sShowLabel |
static const char * | sIKPivot |
Property Default Values | |
static constELook | sDefaultLook |
static const fbxDouble1 | sDefaultSize |
static const fbxBool1 | sDefaultShowLabel |
static const fbxDouble3 | sDefaultIKPivot |
KFbxTypedProperty<ELook> | Look |
This property handles the marker's look. | |
KFbxTypedProperty<fbxDouble1> | Size |
This property handles the marker's size. | |
KFbxTypedProperty<fbxBool1> | ShowLabel |
This property handles the marker's label visibility. | |
KFbxTypedProperty<fbxDouble3> | IKPivot |
This property handles the marker's pivot position. | |
KFbxProperty* | GetOcclusion() |
This method grants access to the occlusion property. | |
KFbxProperty* | GetIKReachTranslation() |
This method grants access to the IKReachTranslation property. | |
KFbxProperty* | GetIKReachRotation() |
This method grants access to the IKReachRotation property. | |
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 | |
virtualEAttributeType | GetAttributeType() const |
Return the type of node attribute which is EAttributeType::eMARKER. | |
void | Reset() |
Reset the marker to default values. | |
void | SetType(ETypepType) |
Set marker type. | |
EType | GetType() const |
Get marker type. | |
K_DEPRECATED void | SetLook(ELookpLook) |
Set marker look. | |
K_DEPRECATEDELook | GetLook() const |
Get marker look. | |
K_DEPRECATED void | SetSize(double pSize) |
Set marker size. | |
K_DEPRECATED double | GetSize() const |
Get marker size. | |
K_DEPRECATED void | SetShowLabel(bool pShowLabel) |
Set whether a marker label is shown. | |
K_DEPRECATED bool | GetShowLabel() const |
Get whether a marker label is shown. | |
K_DEPRECATED void | SetIKPivot(KFbxVector4&pIKPivot) |
Set the IK pivot position. | |
K_DEPRECATEDKFbxVector4 | GetIKPivot() const |
Get the IK pivot position. |
enumEType |
enumELook |
virtualEAttributeTypeGetAttributeType | ( | ) | const[virtual] |
Return the type of node attribute which is EAttributeType::eMARKER.
Reimplemented fromKFbxNodeAttribute.
void Reset | ( | ) |
Reset the marker to default values.
void SetType | ( | EType | pType | ) |
Set marker type.
pType | The type of marker. |
ETypeGetType | ( | ) | const |
Get marker type.
K_DEPRECATED void SetLook | ( | ELook | pLook | ) |
Set marker look.
pLook | The look of the marker. |
K_DEPRECATEDELookGetLook | ( | ) | const |
Get marker look.
K_DEPRECATED void SetSize | ( | double | pSize | ) |
Set marker size.
pSize | The size of the marker. |
K_DEPRECATED double GetSize | ( | ) | const |
Get marker size.
K_DEPRECATED void SetShowLabel | ( | bool | pShowLabel | ) |
Set whether a marker label is shown.
pShowLabel | If set totrue the marker label is visible. |
K_DEPRECATED bool GetShowLabel | ( | ) | const |
Get whether a marker label is shown.
true
if the marker label is visible.K_DEPRECATED void SetIKPivot | ( | KFbxVector4& | pIKPivot | ) |
Set the IK pivot position.
pIKPivot | The translation in local coordinates. |
K_DEPRECATEDKFbxVector4GetIKPivot | ( | ) | 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.
pColor | Filled with appropriate data |
void SetDefaultColor | ( | KFbxColor& | pColor | ) |
Set default color.
pColor | The marker color to be set. |
KFbxProperty* GetOcclusion | ( | ) |
This method grants access to the occlusion property.
KFbxProperty* GetIKReachTranslation | ( | ) |
This method grants access to the IKReachTranslation property.
KFbxProperty* GetIKReachRotation | ( | ) |
This method grants access to the IKReachRotation property.
This property handles the marker's look.
To access this property do: Look.Get(). To set this property do: Look.Set(ELook).
Default value is eCUBE
Definition at line251of filekfbxmarker.h.
KFbxTypedProperty<fbxDouble1>Size |
This property handles the marker's size.
To access this property do: Size.Get(). To set this property do: Size.Set(fbxDouble1).
Default value is 100
Definition at line260of filekfbxmarker.h.
KFbxTypedProperty<fbxBool1>ShowLabel |
This property handles the marker's label visibility.
To access this property do: ShowLabel.Get(). To set this property do: ShowLabel.Set(fbxBool1).
Default value is false
Definition at line269of filekfbxmarker.h.
KFbxTypedProperty<fbxDouble3>IKPivot |
This property handles the marker's pivot position.
To access this property do: IKPivot.Get(). To set this property do: IKPivot.Set(fbxDouble3).
Default value is (0., 0., 0.)
Definition at line278of filekfbxmarker.h.