Public Types | Static Public Attributes

KFbxAnimCurveDef 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 26 of file kfbxanimcurve.h.

#include <kfbxanimcurve.h>

List of all members.

Public Types

enum   ETangentMode {
  eTANGENT_AUTO = KFCURVE_TANGEANT_AUTO, eTANGENT_TCB = KFCURVE_TANGEANT_TCB, eTANGENT_USER = KFCURVE_TANGEANT_USER, eTANGENT_BREAK = KFCURVE_TANGEANT_BREAK,
  eTANGENT_AUTO_BREAK = KFCURVE_TANGEANT_AUTO_BREAK, eTANGENT_GENERIC_CLAMP = KFCURVE_GENERIC_CLAMP, eTANGENT_GENERIC_CLAMP_PROGRESSIVE = KFCURVE_GENERIC_CLAMP_PROGRESSIVE, eTANGENT_GENERIC_TIME_INDEPENDENT = KFCURVE_GENERIC_TIME_INDEPENDENT
}
 

Key tangent mode for cubic interpolation.

More...
enum   EInterpolationType { eINTERPOLATION_CONSTANT = KFCURVE_INTERPOLATION_CONSTANT, eINTERPOLATION_LINEAR = KFCURVE_INTERPOLATION_LINEAR, eINTERPOLATION_CUBIC = KFCURVE_INTERPOLATION_CUBIC, eINTERPOLATION_ALL = KFCURVE_INTERPOLATION_ALL }
 

Key interpolation type.

More...
enum   EWeightedMode { eWEIGHTED_NONE = KFCURVE_WEIGHTED_NONE, eWEIGHTED_RIGHT = KFCURVE_WEIGHTED_RIGHT, eWEIGHTED_NEXT_LEFT = KFCURVE_WEIGHTED_NEXT_LEFT, eWEIGHTED_ALL = KFCURVE_WEIGHTED_ALL }
 

Weighted mode.

More...
enum   EConstantMode { eCONSTANT_STANDARD = KFCURVE_CONSTANT_STANDARD, eCONSTANT_NEXT = KFCURVE_CONSTANT_NEXT, eCONSTANT_ALL = KFCURVE_CONSTANT_ALL }
 

Key constant mode.

More...
enum   EVelocityMode { eVELOCITY_NONE = KFCURVE_VELOCITY_NONE, eVELOCITY_RIGHT = KFCURVE_VELOCITY_RIGHT, eVELOCITY_NEXT_LEFT = KFCURVE_VELOCITY_NEXT_LEFT, eVELOCITY_ALL = KFCURVE_VELOCITY_ALL }
 

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 { eTANGENT_SHOW_NONE = KFCURVE_TANGEANT_SHOW_NONE, eTANGENT_SHOW_LEFT = KFCURVE_TANGEANT_SHOW_LEFT, eTANGENT_SHOW_RIGHT = KFCURVE_TANGEANT_SHOW_RIGHT, eTANGENT_SHOW_BOTH = KFCURVE_TANGEANT_SHOW_BOTH }
 

Tangent visibility.

More...
enum   EKFbxAnimCurveDataIndex {
  eRIGHT_SLOPE = KFCURVEKEY_RIGHT_SLOPE, eNEXT_LEFT_SLOPE = KFCURVEKEY_NEXT_LEFT_SLOPE, eWEIGHTS = KFCURVEKEY_WEIGHTS, eRIGHT_WEIGHT = KFCURVEKEY_RIGHT_WEIGHT,
  eNEXT_LEFT_WEIGHT = KFCURVEKEY_NEXT_LEFT_WEIGHT, eVELOCITY = KFCURVEKEY_VELOCITY, eRIGHT_VELOCITY = KFCURVEKEY_RIGHT_VELOCITY, eNEXT_LEFT_VELOCITY = KFCURVEKEY_NEXT_LEFT_VELOCITY,
  eTCB_TENSION = KFCURVEKEY_TCB_TENSION, eTCB_CONTINUITY = KFCURVEKEY_TCB_CONTINUITY, eTCB_BIAS = KFCURVEKEY_TCB_BIAS
}
 

KFbxAnimCurveKey data indices for cubic interpolation tangent information.

More...

Static Public Attributes

static const int  sWEIGHT_DIVIDER = 9999
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:
eTANGENT_AUTO 

Auto key (spline cardinal).

eTANGENT_TCB 

Spline TCB (Tension, Continuity, Bias)

eTANGENT_USER 

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

eTANGENT_BREAK 

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

eTANGENT_AUTO_BREAK 

Independent left and right slopes, with auto key.

eTANGENT_GENERIC_CLAMP 

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

eTANGENT_GENERIC_CLAMP_PROGRESSIVE 

Clamp progressive: key should be flat if tangent control point is outside [next-previous key] range (overrides tangent mode).

eTANGENT_GENERIC_TIME_INDEPENDENT 

Time independent tangent (overrides tangent mode).

Definition at line 36 of file kfbxanimcurve.h.

Key interpolation type.

Enumerator:
eINTERPOLATION_CONSTANT 

Constant value until next key.

eINTERPOLATION_LINEAR 

Linear progression to next key.

eINTERPOLATION_CUBIC 

Cubic progression to next key.

eINTERPOLATION_ALL 

Any interpolation (Constant, Linear, Cubic)

Definition at line 57 of file kfbxanimcurve.h.

Weighted mode.

Enumerator:
eWEIGHTED_NONE 

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

eWEIGHTED_RIGHT 

Right tangent is weighted.

eWEIGHTED_NEXT_LEFT 

Left tangent is weighted.

eWEIGHTED_ALL 

Both left and right tangents are weighted.

Definition at line 69 of file kfbxanimcurve.h.

Key constant mode.

Enumerator:
eCONSTANT_STANDARD 

Curve value is constant between this key and the next.

eCONSTANT_NEXT 

Curve value is constant, with next key's value.

eCONSTANT_ALL 

Any constant mode (standard or next)

Definition at line 81 of file kfbxanimcurve.h.

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:
eVELOCITY_NONE 

No velocity (default).

eVELOCITY_RIGHT 

Right tangent has velocity.

eVELOCITY_NEXT_LEFT 

Left tangent has velocity.

eVELOCITY_ALL 

Both left and right tangents have velocity.

Definition at line 91 of file kfbxanimcurve.h.

Tangent visibility.

Enumerator:
eTANGENT_SHOW_NONE 

No tangent is visible.

eTANGENT_SHOW_LEFT 

Left tangent is visible.

eTANGENT_SHOW_RIGHT 

Right tangent is visible.

eTANGENT_SHOW_BOTH 

Both left and right tangents are visible.

Definition at line 104 of file kfbxanimcurve.h.

KFbxAnimCurveKey data indices for cubic interpolation tangent information.

Enumerator:
eRIGHT_SLOPE 

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

eNEXT_LEFT_SLOPE 

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

eWEIGHTS 

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

eRIGHT_WEIGHT 

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

eNEXT_LEFT_WEIGHT 

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

eVELOCITY 

Start index of velocity values, Velocity mode.

eRIGHT_VELOCITY 

Index of velocity on right tangent, Velocity mode.

eNEXT_LEFT_VELOCITY 

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

eTCB_TENSION 

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

eTCB_CONTINUITY 

Index of Continuity, TCB tangent mode.

eTCB_BIAS 

Index of Bias, TCB tangent mode.

Definition at line 116 of file kfbxanimcurve.h.


Member Data Documentation

const int sWEIGHT_DIVIDER = 9999 [static]

Definition at line 29 of file kfbxanimcurve.h.

const float sDEFAULT_WEIGHT [static]

Definition at line 30 of file kfbxanimcurve.h.

const float sMIN_WEIGHT [static]

Definition at line 31 of file kfbxanimcurve.h.

const float sMAX_WEIGHT [static]

Definition at line 32 of file kfbxanimcurve.h.

const float sDEFAULT_VELOCITY [static]

Definition at line 33 of file kfbxanimcurve.h.


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

KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef
KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef KFbxAnimCurveDef