Public Types | Static Public Attributes

FbxAnimCurveDef Class Reference

This reference page is linked to from the following overview topics: List of Python Fbx classes.


Search for all occurrences

Detailed Description

Definitions used for the FBX animation curves and keys.

Definition at line 27 of file fbxanimcurve.h.

#include <fbxanimcurve.h>

List of all members.

Public Types

enum   ETangentMode {
  eTangentAuto = 0x00000100, eTangentTCB = 0x00000200, eTangentUser = 0x00000400, eTangentGenericBreak = 0x00000800,
  eTangentBreak = eTangentGenericBreak|eTangentUser, eTangentAutoBreak = eTangentGenericBreak|eTangentAuto, eTangentGenericClamp = 0x00001000, eTangentGenericTimeIndependent = 0x00002000,
  eTangentGenericClampProgressive = 0x00004000|eTangentGenericTimeIndependent
}
 

Key tangent mode for cubic interpolation.

More...
enum   EInterpolationType { eInterpolationConstant = 0x00000002, eInterpolationLinear = 0x00000004, eInterpolationCubic = 0x00000008 }
 

Key interpolation type.

More...
enum   EWeightedMode { eWeightedNone = 0x00000000, eWeightedRight = 0x01000000, eWeightedNextLeft = 0x02000000, eWeightedAll = eWeightedRight|eWeightedNextLeft }
 

Weighted mode.

More...
enum   EConstantMode { eConstantStandard = 0x00000000, eConstantNext = 0x00000100 }
 

Key constant mode.

More...
enum   EVelocityMode { eVelocityNone = 0x00000000, eVelocityRight = 0x10000000, eVelocityNextLeft = 0x20000000, eVelocityAll = eVelocityRight|eVelocityNextLeft }
 

Velocity mode. Velocity settings speed up or slow down animation on either side of a key without changing the trajectory of the animation. Unlike Auto and Weight settings, Velocity changes the animation in time, but not in space.

More...
enum   ETangentVisibility { eTangentShowNone = 0x00000000, eTangentShowLeft = 0x00100000, eTangentShowRight = 0x00200000, eTangentShowBoth = eTangentShowLeft|eTangentShowRight }
 

Tangent visibility.

More...
enum   EDataIndex {
  eRightSlope = 0, eNextLeftSlope = 1, eWeights = 2, eRightWeight = 2,
  eNextLeftWeight = 3, eVelocity = 4, eRightVelocity = 4, eNextLeftVelocity = 5,
  eTCBTension = 0, eTCBContinuity = 1, eTCBBias = 2
}
 

FbxAnimCurveKey data indices for cubic interpolation tangent information.

More...

Static Public Attributes

static const float  sDEFAULT_WEIGHT
static const float  sMIN_WEIGHT
static const float  sMAX_WEIGHT
static const float  sDEFAULT_VELOCITY

Member Enumeration Documentation

Key tangent mode for cubic interpolation.

Enumerator:
eTangentAuto 
eTangentTCB 

Auto key (spline cardinal).

eTangentUser 

Spline TCB (Tension, Continuity, Bias)

eTangentGenericBreak 

Next slope at the left equal to slope at the right.

eTangentBreak 

Independent left and right slopes.

eTangentAutoBreak 

Independent left and right slopes, with next slope at the left equal to slope at the right.

eTangentGenericClamp 

Independent left and right slopes, with auto key.

eTangentGenericTimeIndependent 

Clamp: key should be flat if next or previous key has the same value (overrides tangent mode).

eTangentGenericClampProgressive 

Time independent tangent (overrides tangent mode).

Definition at line 36 of file fbxanimcurve.h.

Key interpolation type.

Enumerator:
eInterpolationConstant 
eInterpolationLinear 

Constant value until next key.

eInterpolationCubic 

Linear progression to next key.

Definition at line 50 of file fbxanimcurve.h.

    {
        eInterpolationConstant = 0x00000002,    
        eInterpolationLinear = 0x00000004,      
        eInterpolationCubic = 0x00000008        
    };

Weighted mode.

Enumerator:
eWeightedNone 
eWeightedRight 

Tangent has default weights of 0.333; we define this state as not weighted.

eWeightedNextLeft 

Right tangent is weighted.

eWeightedAll 

Left tangent is weighted.

Definition at line 58 of file fbxanimcurve.h.

Key constant mode.

Enumerator:
eConstantStandard 
eConstantNext 

Curve value is constant between this key and the next.

Definition at line 67 of file fbxanimcurve.h.

    {
        eConstantStandard = 0x00000000, 
        eConstantNext = 0x00000100      
    };

Velocity mode. Velocity settings speed up or slow down animation on either side of a key without changing the trajectory of the animation. Unlike Auto and Weight settings, Velocity changes the animation in time, but not in space.

Enumerator:
eVelocityNone 
eVelocityRight 

No velocity (default).

eVelocityNextLeft 

Right tangent has velocity.

eVelocityAll 

Left tangent has velocity.

Definition at line 74 of file fbxanimcurve.h.

Tangent visibility.

Enumerator:
eTangentShowNone 
eTangentShowLeft 

No tangent is visible.

eTangentShowRight 

Left tangent is visible.

eTangentShowBoth 

Right tangent is visible.

Definition at line 83 of file fbxanimcurve.h.

enum EDataIndex

FbxAnimCurveKey data indices for cubic interpolation tangent information.

Enumerator:
eRightSlope 
eNextLeftSlope 

Index of the right derivative, User and Break tangent mode (data are float).

eWeights 

Index of the left derivative for the next key, User and Break tangent mode.

eRightWeight 

Start index of weight values, User and Break tangent break mode (data are FbxInt16 tokens from weight and converted to float).

eNextLeftWeight 

Index of weight on right tangent, User and Break tangent break mode.

eVelocity 

Index of weight on next key's left tangent, User and Break tangent break mode.

eRightVelocity 

Start index of velocity values, Velocity mode.

eNextLeftVelocity 

Index of velocity on right tangent, Velocity mode.

eTCBTension 

Index of velocity on next key's left tangent, Velocity mode.

eTCBContinuity 

Index of Tension, TCB tangent mode (data are floats).

eTCBBias 

Index of Continuity, TCB tangent mode.

Definition at line 92 of file fbxanimcurve.h.


Member Data Documentation

const float sDEFAULT_WEIGHT [static]

Definition at line 30 of file fbxanimcurve.h.

const float sMIN_WEIGHT [static]

Definition at line 31 of file fbxanimcurve.h.

const float sMAX_WEIGHT [static]

Definition at line 32 of file fbxanimcurve.h.

const float sDEFAULT_VELOCITY [static]

Definition at line 33 of file fbxanimcurve.h.


The documentation for this class was generated from the following file:

FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef
FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef FbxAnimCurveDef