#include <kfbxtakenode.h>
An object derived from class KFbxTakeNodeContainer contains multiple take nodes to hold animation data.
In the case of class KFbxNode, a take node contains all animation curves necessary to define the animation for a node and its attribute. By having multiple take nodes, a node might be animated differently. A scene description held in a node hierarchy can be animated differently using different animation take nodes.
This object can be used to access the different animation curves that define a take node. Some channels are only accessible once the proper node attribute has been associated with an object of type KFbxNode.
Definition at line 87 of file kfbxtakenode.h.
Error Management | |
enum | EError { eNO_CURVE_FOUND, eERROR_COUNT } |
Error identifiers. More... | |
KError & | GetError () |
Retrieve error object. | |
EError | GetLastErrorID () |
Get last error code. | |
char * | GetLastErrorString () |
Get last error string. | |
Take Node creation/destruction. | |
KFbxTakeNode (char *pName="Default") | |
Constructor. | |
KFbxTakeNode (KFbxTakeNode &pTakeNode) | |
Copy constructor. | |
~KFbxTakeNode () | |
Destructor. | |
Take Node name management. | |
void | SetName (char *pName) |
Set take node name. | |
char * | GetName () |
Get take node name. | |
Transform Channels Access | |
These channels are only accessible when a take node is part of a node. | |
KFCurveNode * | GetKFCurveNode () |
Get pointer to root KFCurveNode object. | |
KFCurve * | GetTranslationX () |
Get X translation channel. | |
KFCurve * | GetTranslationY () |
Get Y translation channel. | |
KFCurve * | GetTranslationZ () |
Get Z translation channel. | |
KFCurve * | GetEulerRotationX () |
Get X rotation channel. | |
KFCurve * | GetEulerRotationY () |
Get Y rotation channel. | |
KFCurve * | GetEulerRotationZ () |
Get Z rotation channel. | |
KFCurve * | GetScaleX () |
Get X scale channel. | |
KFCurve * | GetScaleY () |
Get Y scale channel. | |
KFCurve * | GetScaleZ () |
Get Z scale channel. | |
KFCurve * | GetVisibility () |
Get visibility channel. | |
Light Channels Access | |
These channels are only accessible when a take node is part of a node with an associated light node attribute. | |
KFCurve * | GetColorR () |
Get red color channel. | |
KFCurve * | GetColorG () |
Get green color channel. | |
KFCurve * | GetColorB () |
Get blue color channel. | |
KFCurve * | GetLightIntensity () |
Get light intensity channel. | |
KFCurve * | GetLightConeAngle () |
Get cone angle channel for a spot light. | |
KFCurve * | GetLightFog () |
Get fog intensity channel. | |
Camera Channels Access | |
These channels are only accessible when a take node is part of a node with an associated camera node attribute. | |
KFCurve * | GetCameraFieldOfView () |
Get field of view channel. | |
KFCurve * | GetCameraFieldOfViewX () |
Get field of view in X channel. | |
KFCurve * | GetCameraFieldOfViewY () |
Get field of view in Y channel. | |
KFCurve * | GetCameraFocalLength () |
Get focal length channel. | |
KFCurve * | GetCameraOpticalCenterX () |
Get the horizontal optical center channel. | |
KFCurve * | GetCameraOpticalCenterY () |
Get the vertical optical center channel. | |
KFCurve * | GetCameraRoll () |
Get camera roll channel in degrees. | |
KFCurve * | GetCameraTurnTable () |
Get camera turn table channel in degrees. | |
KFCurve * | GetBackgroundColorR () |
Get camera background red color channel. | |
KFCurve * | GetBackgroundColorG () |
Get camera background green color channel. | |
KFCurve * | GetBackgroundColorB () |
Get camera background blue color channel. | |
Camera Switcher Channels Access | |
These channels are only accessible when a take node is part of a node with an associated camera switcher node attribute. | |
KFCurve * | GetCameraIndex () |
Get camera index channel. | |
Geometry Channels Access | |
These channels are only accessible when a take node is part of a node with an associated geometry node attribute. | |
KFCurve * | GetShapeChannel (KFbxGeometry *pGeometry, int pShapeIndex) |
Get a shape channel. | |
Marker Channels Access | |
These channels are only accessible when a take node is part of a node with an associated marker node attribute. | |
KFCurve * | GetOcclusion () |
Get marker occlusion channel. | |
KFCurve * | GetIKReachTranslation () |
Get marker IK reach translation channel. | |
KFCurve * | GetIKReachRotation () |
Get marker IK reach rotation channel. | |
Texture Channels Access | |
These channels are only accessible when a take node is part of a texture. | |
KFCurve * | GetTextureTranslationX () |
Get texture X translation channel. | |
KFCurve const * | GetTextureTranslationX () const |
Get texture X translation channel. | |
KFCurve * | GetTextureTranslationY () |
Get texture Y translation channel. | |
KFCurve const * | GetTextureTranslationY () const |
Get texture Y translation channel. | |
KFCurve * | GetTextureTranslationZ () |
Get texture Z translation channel. | |
KFCurve const * | GetTextureTranslationZ () const |
Get texture Z translation channel. | |
KFCurve * | GetTextureEulerRotationX () |
Get texture X rotation channel. | |
KFCurve const * | GetTextureEulerRotationX () const |
Get texture X rotation channel. | |
KFCurve * | GetTextureEulerRotationY () |
Get texture Y rotation channel. | |
KFCurve const * | GetTextureEulerRotationY () const |
Get texture Y rotation channel. | |
KFCurve * | GetTextureEulerRotationZ () |
Get texture Z rotation channel. | |
KFCurve const * | GetTextureEulerRotationZ () const |
Get texture Z rotation channel. | |
KFCurve * | GetTextureScaleX () |
Get texture X scale channel. | |
KFCurve const * | GetTextureScaleX () const |
Get texture X scale channel. | |
KFCurve * | GetTextureScaleY () |
Get texture Y scale channel. | |
KFCurve const * | GetTextureScaleY () const |
Get texture Y scale channel. | |
KFCurve * | GetTextureScaleZ () |
Get texture Z scale channel. | |
KFCurve const * | GetTextureScaleZ () const |
Get texture Z scale channel. | |
KFCurve * | GetTextureAlpha () |
Get texture alpha channel. | |
Material Channels Access | |
These channels are only accessible when a take node is part of a material. | |
KFCurve * | GetMaterialEmissiveColorR () |
Get material emissive red color channel. | |
KFCurve * | GetMaterialEmissiveColorG () |
Get material emissive green color channel. | |
KFCurve * | GetMaterialEmissiveColorB () |
Get material emissive blue color channel. | |
KFCurve * | GetMaterialAmbientColorR () |
Get material ambient red color channel. | |
KFCurve * | GetMaterialAmbientColorG () |
Get material ambient green color channel. | |
KFCurve * | GetMaterialAmbientColorB () |
Get material ambient blue color channel. | |
KFCurve * | GetMaterialDiffuseColorR () |
Get material diffuse red color channel. | |
KFCurve * | GetMaterialDiffuseColorG () |
Get material diffuse green color channel. | |
KFCurve * | GetMaterialDiffuseColorB () |
Get material diffuse blue color channel. | |
KFCurve * | GetMaterialSpecularColorR () |
Get material specular red color channel. | |
KFCurve * | GetMaterialSpecularColorG () |
Get material specular green color channel. | |
KFCurve * | GetMaterialSpecularColorB () |
Get material specular blue color channel. | |
KFCurve * | GetMaterialOpacity () |
Get material opacity channel. | |
KFCurve * | GetMaterialReflectivity () |
Get material reflectivity channel. | |
KFCurve * | GetMaterialShininess () |
Get material shininess channel. | |
Constraint Channels Access | |
These channels are only accessible when a take node is part of a constraint. | |
KFCurve * | GetConstraintObjectWeight (KFbxObject *pObject) |
Get Weight channel. | |
KFCurve * | GetPositionConstraintOffsetX () |
Get X position offset channel. | |
KFCurve * | GetPositionConstraintOffsetY () |
Get Y position offset channel. | |
KFCurve * | GetPositionConstraintOffsetZ () |
Get Z position offset channel. | |
KFCurve * | GetRotationConstraintOffsetX () |
Get X rotation offset channel. | |
KFCurve * | GetRotationConstraintOffsetY () |
Get Y rotation offset channel. | |
KFCurve * | GetRotationConstraintOffsetZ () |
Get Z rotation offset channel. | |
KFCurve * | GetScaleConstraintOffsetX () |
Get X scale offset channel. | |
KFCurve * | GetScaleConstraintOffsetY () |
Get Y scale offset channel. | |
KFCurve * | GetScaleConstraintOffsetZ () |
Get Z scale offset channel. | |
KFCurve * | GetParentConstraintRotationOffsetX (KFbxObject *pObject) |
Get X rotation offset channel. | |
KFCurve * | GetParentConstraintRotationOffsetY (KFbxObject *pObject) |
Get Y rotation offset channel. | |
KFCurve * | GetParentConstraintRotationOffsetZ (KFbxObject *pObject) |
Get Z rotation offset channel. | |
KFCurve * | GetParentConstraintTranslationOffsetX (KFbxObject *pObject) |
Get X translation offset channel. | |
KFCurve * | GetParentConstraintTranslationOffsetY (KFbxObject *pObject) |
Get Y translation offset channel. | |
KFCurve * | GetParentConstraintTranslationOffsetZ (KFbxObject *pObject) |
Get Z translation offset channel. | |
KFCurve * | GetAimConstraintOffsetX () |
Get X aim offset channel. | |
KFCurve * | GetAimConstraintOffsetY () |
Get Y aim offset channel. | |
KFCurve * | GetAimConstraintOffsetZ () |
Get Z aim offset channel. | |
KFCurve * | GetAimConstraintWorldUpVectorX () |
Get X aim world up vector channel. | |
KFCurve * | GetAimConstraintWorldUpVectorY () |
Get Y aim world up vector channel. | |
KFCurve * | GetAimConstraintWorldUpVectorZ () |
Get Z aim world up vector channel. | |
KFCurve * | GetAimConstraintAimVectorX () |
Get X aim vector channel. | |
KFCurve * | GetAimConstraintAimVectorY () |
Get Y aim vector channel. | |
KFCurve * | GetAimConstraintAimVectorZ () |
Get Z aim vector channel. | |
KFCurve * | GetAimConstraintUpVectorX () |
Get X aim up vector channel. | |
KFCurve * | GetAimConstraintUpVectorY () |
Get Y aim up vector channel. | |
KFCurve * | GetAimConstraintUpVectorZ () |
Get Z aim up vector channel. | |
KFCurve * | GetSCIKConstraintWeight () |
Get single chain ik weight channel. | |
KFCurve * | GetSCIKConstraintTwist () |
Get single chain ik twist channel. | |
KFCurve * | GetSCIKConstraintPoleVectorX () |
Get single chain ik X pole vector channel. | |
KFCurve * | GetSCIKConstraintPoleVectorY () |
Get single chain ik Y pole vector channel. | |
KFCurve * | GetSCIKConstraintPoleVectorZ () |
Get single chain ik Z pole vector channel. | |
Property Access | |
KFCurve * | GetPropertyAnimation (KFbxProperty *pProperty, kUInt pComponentIndex) |
Get a user property's component channel. | |
Utility functions used by some plugins etc. | |
bool | GetAnimationInterval (KTime &pStart, KTime &pStop) |
Find out start and end time of the animation. | |
bool | AddRotationToTranslation (KFbxVector4 pRotation) |
Rotates the translation animation at a given angle. |
enum EError |
Error identifiers.
eNO_CURVE_FOUND |
The requested FCurve was not found.
|
eERROR_COUNT |
Mark the end of the EError enum.
|
Definition at line 882 of file kfbxtakenode.h.
KFbxTakeNode | ( | char * | pName = "Default" |
) |
Constructor.
pName | The name of the take this node is part of. |
KFbxTakeNode | ( | KFbxTakeNode & | pTakeNode | ) |
Copy constructor.
pTakeNode | A node from which data is cloned. |
~KFbxTakeNode | ( | ) |
Destructor.
void SetName | ( | char * | pName | ) |
Set take node name.
pName | The name of the take this node is part of. |
char* GetName | ( | ) |
Get take node name.
KFCurveNode* GetKFCurveNode | ( | ) |
Get pointer to root KFCurveNode object.
KFCurve* GetTranslationX | ( | ) |
Get X translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTranslationY | ( | ) |
Get Y translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTranslationZ | ( | ) |
Get Z translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetEulerRotationX | ( | ) |
Get X rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetEulerRotationY | ( | ) |
Get Y rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetEulerRotationZ | ( | ) |
Get Z rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleX | ( | ) |
Get X scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleY | ( | ) |
Get Y scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleZ | ( | ) |
Get Z scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetVisibility | ( | ) |
Get visibility channel.
A node is visible if this parameter is higher than 0. It is invisible otherwise.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetColorR | ( | ) |
Get red color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetColorG | ( | ) |
Get green color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetColorB | ( | ) |
Get blue color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetLightIntensity | ( | ) |
Get light intensity channel.
This parameter has a scale from 0 to 200, 200 meaning full intensity. This parameter's default value is 100.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetLightConeAngle | ( | ) |
Get cone angle channel for a spot light.
This parameter has a scale from 0 to 160 degrees. This parameter has no effect if the light type is not set to eSPOT. Its default value is 45 degrees.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetLightFog | ( | ) |
Get fog intensity channel.
This parameter has a scale from 0 to 200, 200 meaning full fog opacity. This parameter has no effect if the light type is not set to eSPOT. Its default value is 50.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraFieldOfView | ( | ) |
Get field of view channel.
When the camera aperture mode is set to eHORIZONTAL, this parameter sets the horizontal field of view in degrees and the vertical field of view is adjusted accordingly. When the camera aperture mode is set to eVERTICAL, this parameter sets the vertical field of view in degrees and the horizontal field of view is adjusted accordingly. This parameter has no effect if the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 25.115.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraFieldOfViewX | ( | ) |
Get field of view in X channel.
When the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL, this parameter gets the horizontal field of view in degrees. This parameter has no effect otherwise. Its default value is 40.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraFieldOfViewY | ( | ) |
Get field of view in Y channel.
When the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL, this parameter gets the vertical field of view in degrees. This parameter has no effect otherwise. Its default value is 40.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraFocalLength | ( | ) |
Get focal length channel.
This channel is only valid if the field of view is not animated.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraOpticalCenterX | ( | ) |
Get the horizontal optical center channel.
This parameter gets the optical center horizontal offset when the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 0.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraOpticalCenterY | ( | ) |
Get the vertical optical center channel.
This parameter gets the optical center vertical offset when the camera aperture mode is set to eHORIZONTAL_AND_VERTICAL. Its default value is 0.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraRoll | ( | ) |
Get camera roll channel in degrees.
This parameter's default value is 0 degrees.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraTurnTable | ( | ) |
Get camera turn table channel in degrees.
This parameter's default value is 0 degrees.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetBackgroundColorR | ( | ) |
Get camera background red color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetBackgroundColorG | ( | ) |
Get camera background green color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetBackgroundColorB | ( | ) |
Get camera background blue color channel.
This parameter has a scale from 0 to 1, 1 meaning full intensity.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetCameraIndex | ( | ) |
Get camera index channel.
This parameter has an integer scale from 1 to the number of cameras in the scene. This parameter's default value is 1.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetShapeChannel | ( | KFbxGeometry * | pGeometry, | |
int | pShapeIndex | |||
) |
Get a shape channel.
This parameter has a scale from 0 to 100, 100 meaning full shape deformation. This parameter's default value is 0.
pGeometry | Pointer to geometry, required because meshes, nurbs and patches may have different naming schemes for shape channels. | |
pShapeIndex | Shape index. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetOcclusion | ( | ) |
Get marker occlusion channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eOPTICAL.
KFCurve* GetIKReachTranslation | ( | ) |
Get marker IK reach translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eIK_EFFECTOR.
KFCurve* GetIKReachRotation | ( | ) |
Get marker IK reach rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. This channel is only accessible if the associated marker node attribute is of type KFbxMarker::eIK_EFFECTOR.
KFCurve* GetTextureTranslationX | ( | ) |
Get texture X translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureTranslationX | ( | ) | const |
Get texture X translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureTranslationY | ( | ) |
Get texture Y translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureTranslationY | ( | ) | const |
Get texture Y translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureTranslationZ | ( | ) |
Get texture Z translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureTranslationZ | ( | ) | const |
Get texture Z translation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureEulerRotationX | ( | ) |
Get texture X rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureEulerRotationX | ( | ) | const |
Get texture X rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureEulerRotationY | ( | ) |
Get texture Y rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureEulerRotationY | ( | ) | const |
Get texture Y rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureEulerRotationZ | ( | ) |
Get texture Z rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureEulerRotationZ | ( | ) | const |
Get texture Z rotation channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureScaleX | ( | ) |
Get texture X scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureScaleX | ( | ) | const |
Get texture X scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureScaleY | ( | ) |
Get texture Y scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureScaleY | ( | ) | const |
Get texture Y scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureScaleZ | ( | ) |
Get texture Z scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve const* GetTextureScaleZ | ( | ) | const |
Get texture Z scale channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetTextureAlpha | ( | ) |
Get texture alpha channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialEmissiveColorR | ( | ) |
Get material emissive red color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialEmissiveColorG | ( | ) |
Get material emissive green color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialEmissiveColorB | ( | ) |
Get material emissive blue color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialAmbientColorR | ( | ) |
Get material ambient red color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialAmbientColorG | ( | ) |
Get material ambient green color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialAmbientColorB | ( | ) |
Get material ambient blue color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialDiffuseColorR | ( | ) |
Get material diffuse red color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialDiffuseColorG | ( | ) |
Get material diffuse green color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialDiffuseColorB | ( | ) |
Get material diffuse blue color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialSpecularColorR | ( | ) |
Get material specular red color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialSpecularColorG | ( | ) |
Get material specular green color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialSpecularColorB | ( | ) |
Get material specular blue color channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialOpacity | ( | ) |
Get material opacity channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialReflectivity | ( | ) |
Get material reflectivity channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetMaterialShininess | ( | ) |
Get material shininess channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetConstraintObjectWeight | ( | KFbxObject * | pObject | ) |
Get Weight channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetPositionConstraintOffsetX | ( | ) |
Get X position offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetPositionConstraintOffsetY | ( | ) |
Get Y position offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetPositionConstraintOffsetZ | ( | ) |
Get Z position offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetRotationConstraintOffsetX | ( | ) |
Get X rotation offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetRotationConstraintOffsetY | ( | ) |
Get Y rotation offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetRotationConstraintOffsetZ | ( | ) |
Get Z rotation offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleConstraintOffsetX | ( | ) |
Get X scale offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleConstraintOffsetY | ( | ) |
Get Y scale offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetScaleConstraintOffsetZ | ( | ) |
Get Z scale offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintRotationOffsetX | ( | KFbxObject * | pObject | ) |
Get X rotation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintRotationOffsetY | ( | KFbxObject * | pObject | ) |
Get Y rotation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintRotationOffsetZ | ( | KFbxObject * | pObject | ) |
Get Z rotation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintTranslationOffsetX | ( | KFbxObject * | pObject | ) |
Get X translation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintTranslationOffsetY | ( | KFbxObject * | pObject | ) |
Get Y translation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetParentConstraintTranslationOffsetZ | ( | KFbxObject * | pObject | ) |
Get Z translation offset channel.
Object | that we want the KFCurve. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintOffsetX | ( | ) |
Get X aim offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintOffsetY | ( | ) |
Get Y aim offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintOffsetZ | ( | ) |
Get Z aim offset channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintWorldUpVectorX | ( | ) |
Get X aim world up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintWorldUpVectorY | ( | ) |
Get Y aim world up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintWorldUpVectorZ | ( | ) |
Get Z aim world up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintAimVectorX | ( | ) |
Get X aim vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintAimVectorY | ( | ) |
Get Y aim vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintAimVectorZ | ( | ) |
Get Z aim vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintUpVectorX | ( | ) |
Get X aim up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintUpVectorY | ( | ) |
Get Y aim up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetAimConstraintUpVectorZ | ( | ) |
Get Z aim up vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetSCIKConstraintWeight | ( | ) |
Get single chain ik weight channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetSCIKConstraintTwist | ( | ) |
Get single chain ik twist channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetSCIKConstraintPoleVectorX | ( | ) |
Get single chain ik X pole vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetSCIKConstraintPoleVectorY | ( | ) |
Get single chain ik Y pole vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetSCIKConstraintPoleVectorZ | ( | ) |
Get single chain ik Z pole vector channel.
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KFCurve* GetPropertyAnimation | ( | KFbxProperty * | pProperty, | |
kUInt | pComponentIndex | |||
) |
Get a user property's component channel.
pProperty | Specify the property we are interested in. | |
pComponentIndex | The index of the channel. |
NULL
if an error occurred. KFbxTakeNode::GetLastErrorID()
returns eNO_CURVE_FOUND. KError& GetError | ( | ) |
Retrieve error object.
EError GetLastErrorID | ( | ) |
Get last error code.
char* GetLastErrorString | ( | ) |
Get last error string.
Find out start and end time of the animation.
This function retrieves the including time span for all the FCurve's time span of this take node.
pStart | Reference to receive start time. | |
pStop | Reference to receive end time. |
true
on success, false
otherwise. bool AddRotationToTranslation | ( | KFbxVector4 | pRotation | ) |
Rotates the translation animation at a given angle.
pRotation | vector containing the rotation. |
True
if everything went ok.