Channel Type Macros | |
| |
#define | FX_CHANTYPE_POSITION |
Position type channel. | |
#define | FX_CHANTYPE_ROTATION |
Rotation type channel. | |
#define | FX_CHANTYPE_SCALE |
Scale type channel. | |
#define | FX_CHANTYPE_PIVOT |
Pivot type channel. | |
#define | FX_CHANTYPE_VALUE |
Value type channel. | |
#define | FX_CHANTYPE_COLOR |
Color type channel (0-255). | |
Channel Macros | |
| |
#define | FX_CHAN_N |
Replace 'N' with an int between 0 and 29, indicates an individual channel. | |
#define | FX_X_POSITION |
Local X position. | |
#define | FX_Y_POSITION |
Local Y position. | |
#define | FX_Z_POSITION |
Local Z position. | |
#define | FX_HEADING |
Local Heading (Y rotate). | |
#define | FX_PITCH |
Local Pitch (X rotate). | |
#define | FX_BANK |
Local Bank (Z rotate). | |
#define | FX_X_SCALE |
Local X scale. | |
#define | FX_Y_SCALE |
Local Y scale. | |
#define | FX_Z_SCALE |
Local Z scale. | |
#define | FX_X_PIVOT |
Local X pivot. | |
#define | FX_Y_PIVOT |
Local Y pivot. | |
#define | FX_Z_PIVOT |
Local Z pivot. | |
#define | FX_X_WPOSITION |
World X position. | |
#define | FX_Y_WPOSITION |
World Y position. | |
#define | FX_Z_WPOSITION |
World Z position. | |
#define | FX_POSITION |
All local position channels. | |
#define | FX_ROTATION |
All local rotation channels. | |
#define | FX_SCALE |
All local scale channels. | |
#define | FX_PIVOT |
All local pivot channels. | |
#define | FX_MOTION_CHANNELS |
All motion channels (position, rotation, scale). | |
#define | FX_OBJECT_CHANNELS |
All object channels (motion channels, pivot). | |
#define | FX_ALL_CHANNELS |
All channels (0-11). | |
#define | FX_EX_CHANNELS |
All channels (0-31). | |
#define | FX_WORLD_POSITION |
All world position channels. | |
#define | FX_WORLD_ROTATION |
All world rotation channels. | |
#define | FX_WORLD_SCALE |
All world scale channels. | |
#define | FX_WORLD_PIVOT |
All world pivot channels. | |
Flags (fxChannels*) | |
| |
#define | FX_CHANXFER_SETUP |
Indicates that the function will use the item's Setup values rather than its animation values. | |
Matrix Macros | |
| |
#define | FX_MATRIX_LOCAL |
Object's local transformation matrix. | |
#define | FX_MATRIX_WORLD |
Object's world transformation matrix. | |
#define | FX_MATRIX_WORLD_FILTERED |
Object's world rotation matrix (transform and scale info omitted). | |
Channel Flag Macros | |
| |
#define | FX_X_POSITION_BIT |
X position channel flag. | |
#define | FX_Y_POSITION_BIT |
Y position channel flag. | |
#define | FX_Z_POSITION_BIT |
Z position channel flag. | |
#define | FX_HEADING_BIT |
Heading (Y) channel flag. | |
#define | FX_PITCH_BIT |
Pitch (X) channel flag. | |
#define | FX_BANK_BIT |
Bank (Z) channel flag. | |
#define | FX_X_SCALE_BIT |
X scale channel flag. | |
#define | FX_Y_SCALE_BIT |
Y scale channel flag. | |
#define | FX_Z_SCALE_BIT |
Z scale channel flag. | |
#define | FX_X_PIVOT_BIT |
X pivot channel flag. | |
#define | FX_Y_PIVOT_BIT |
Y pivot channel flag. | |
#define | FX_Z_PIVOT_BIT |
Z pivot channel flag. | |
#define | FX_POSITION_BITS |
All position channels flag. | |
#define | FX_ROTATION_BITS |
All rotation channels flag. | |
#define | FX_SCALE_BITS |
All scale channels flag. | |
#define | FX_PIVOT_BITS |
All pivot channels flag. | |
#define | FX_MOTION_CHANNELS_BITS |
All motion channels flag (position, rotation, scale). | |
#define | FX_OBJECT_CHANNELS_BITS |
All object channels flag (motion channels, pivot). | |
#define | FX_ALL_CHANNELS_BITS |
First 12 channels. | |
#define | FX_EX_CHANNELS_BITS |
All 32 channels. | |
Motion End Behavior Macros | |
| |
#define | FX_END_RESET |
Reset. | |
#define | FX_END_STOP |
Stop. | |
#define | FX_END_REPEAT |
Repeat. | |
#define | FX_END_REPEAT_LOCAL |
Repeat Local. | |
#define | FX_END_PINGPONG |
Ping Pong. | |
#define | FX_END_ACCUMULATE |
Accumulate. | |
#define | FX_END_ACCUMULATE_LOCAL |
Accumulate Local. | |
#define | FX_END_WRAP |
Wrap. | |
#define | FX_END_PINGPONG_LOCAL |
Ping Pong Local. | |
Motion Curve Type Macros | |
| |
#define | FX_CURVETYPE_TCB |
TCB (Tension, Continuity, Bias Catmul-Rom Spline). | |
#define | FX_CURVETYPE_BEZIER |
Bezier. | |
#define | FX_CURVETYPE_LINEAR |
Linear. | |
#define | FX_CURVETYPE_STEP |
Constant Stepped. | |
Channel Operator Macros | |
| |
#define | FX_CHANOP_EQUAL |
Assignment, channel will equal the value being passed. | |
#define | FX_CHANOP_ADD |
Addition, the value being passed will be added to the existing channel value. | |
#define | FX_CHANOP_SUB |
Subtraction, the value being passed will be subtracted from the existing channel value. | |
#define | FX_CHANOP_MULT |
Multiplication, , the value being passed will be multiplied by the existing channel value. | |
#define | FX_CHANOP_DIV |
Division, , the value being passed will be divided by the existing channel value. | |
#define | FX_CHANOP_MAX |
Max, the channel will be assigned the value being passed only if it is larger than the channel's existing value. | |
#define | FX_CHANOP_MIN |
Min, the channel will be assigned the value being passed only if it is smaller than the channel's existing value. | |
Tangent Type Macros | |
| |
#define | FX_TANGENTS_BREAK |
The curve is allowed to be c1 discontinuous. | |
#define | FX_TANGENTS_LOCK_LENGTH |
Control handles are equidistant from control point. | |
Misc. Functions | |
FXint | fxMotionNumKeys (FXobject obj, FXint *num_keys, FXint flags) |
Retrieves the number of keyframes on a given object. | |
FXint | fxMatrixGet (FXobject obj, FXint chan_mat, FXdouble frame, FXmatrix m, FXint flags) |
Retrieves the transformation matrix from an object. | |
Channel Functions | |
| |
FXint | fxChannelsGet (FXobject obj, FXint channel_ID, FXdouble frame, FXdouble *channels, FXint flags) |
Retrieve one or more channels' value at a given frame. | |
FXint | fxChannelsSet (FXobject obj, FXint channel_ID, FXdouble *channels, FXint flags) |
Set the value of one or more channels on a given object. | |
FXint | fxChannelsBlend (FXobject, FXint channel_ID, FXdouble *channels, FXint blend_op, FXint flags) |
Set the value of one or more channels on a given object using blending flags. | |
FXint | fxChannelActiveGet (FXobject obj, FXint *channel, FXint flags) |
Retrieve the currently active (selected) channel for a given object. | |
FXint | fxChannelActiveSet (FXobject obj, FXint channel, FXint flags) |
Set the currently active (selected) channel for a given object. | |
FXint | fxChannelNumKeys (FXobject obj, FXint channel, FXint *num_keys, FXint flags) |
Retrieves the number of included keyframes on a given channel. | |
FXint | fxChannelSetup (FXobject obj, FXchar *name, FXint channel, FXint channel_type, FXdouble def, FXdouble min, FXdouble max, FXint flags) |
Channel information setup function. | |
FXint | fxChannelDataLink (FXobject obj, FXint channel, FXint value_type, FXvoid *value, FXint flags) |
Links an object's channel's value to a variable. | |
FXint | fxChannelEndSet (FXobject obj, FXint channel_ID, FXint end_type, FXint flags) |
Set a channel's end behavior. | |
FXint | fxChannelEndGet (FXobject obj, FXint channel_ID, FXint *end_type, FXint flags) |
Get a channel's end behavior. | |
Key Functions | |
| |
FXint | fxKeyEditBegin (FXmodule module, FXobject obj, FXint flags) |
Begins a keyframe editing session, always call before editing keys. | |
FXint | fxKeyEditEnd (FXmodule module, FXobject obj, FXint flags) |
Ends a keyframe editing session. | |
FXint | fxKeyChannelsGet (FXobject obj, FXint keyID, FXint channel_flag, FXdouble *channels, FXint flags) |
Retrieve one or more keyframe values. | |
FXint | fxKeyChannelsSet (FXobject obj, FXint keyID, FXint channel_flag, FXdouble *channels, FXint flags) |
Set one or more keyframe values. | |
FXint | fxKeyInclusionGet (FXobject obj, FXint keyID, FXint *channel_flags, FXint flags) |
Get the inclusion status of a keyframe for a given channel. | |
FXint | fxKeyInclusionSet (FXobject obj, FXint keyID, FXint channel_flags, FXint flags) |
Set the active status of a keyframe for a given channel. | |
FXint | fxKeySelected (FXobject obj, FXint keyID, FXint channel, FXint flags) |
Determine whether a keyframe is selected or not. | |
FXint | fxKeySelect (FXobject obj, FXint keyID, FXint channel, FXint flags) |
Selects a keyframe on a given channel. | |
FXint | fxKeyDeselect (FXobject obj, FXint keyID, FXint channel, FXint flags) |
Deselects a keyframe on a given channel. | |
FXint | fxKeyActiveGet (FXobject obj, FXint *keyID, FXint flags) |
Retrieves the index of the currently active keyframe. | |
FXint | fxKeyActiveSet (FXobject obj, FXint keyID, FXint flags) |
Sets the currently active keyframe to the specified index. | |
FXint | fxKeyCreate (FXobject obj, FXdouble frame, FXint *keyID, FXint flags) |
Create a keyframe. | |
FXint | fxKeyDelete (FXobject obj, FXint keyID, FXint flags) |
Delete the keyframe at the specified index: keyID. | |
FXint | fxKeyCurveSet (FXobject obj, FXint keyID, FXint channel_ID, FXint curve_type, FXint flags) |
Sets the type of a motion curve (TCB, Bezier etc.) at the specified keyframe. | |
FXint | fxKeyCurveGet (FXobject obj, FXint keyID, FXint channel_ID, FXint *curve_type, FXint flags) |
Retrieves the type of a motion curve at the specified keyframe. | |
FXint | fxKeyTangentsSet (FXobject obj, FXint keyID, FXint channel_ID, FXint tangent_flags, FXint flags) |
Sets the tangent attributes of the specified keyframe. | |
FXint | fxKeyTangentsGet (FXobject obj, FXint keyID, FXint channel_ID, FXint *tangent_flags, FXint flags) |
Retrieves the tangent attributes of the specified keyframe. |
|
The curve is allowed to be c1 discontinuous. Example: ![]() |
|
Control handles are equidistant from control point. Locked: ![]() ![]() |
|
Retrieve the currently active (selected) channel for a given object.
|
|
Set the currently active (selected) channel for a given object.
|
|
Links an object's channel's value to a variable.
|
|
Get a channel's end behavior.
|
|
Set a channel's end behavior.
|
|
Retrieves the number of included keyframes on a given channel.
|
|
Set the value of one or more channels on a given object using blending flags.
|
|
Channel information setup function.
|
|
Retrieve one or more channels' value at a given frame.
|
|
Set the value of one or more channels on a given object.
|
|
Retrieves the index of the currently active keyframe.
|
|
Sets the currently active keyframe to the specified index.
|
|
Retrieve one or more keyframe values.
|
|
Set one or more keyframe values.
|
|
Create a keyframe.
|
|
Retrieves the type of a motion curve at the specified keyframe.
|
|
Sets the type of a motion curve (TCB, Bezier etc.) at the specified keyframe.
|
|
Deselects a keyframe on a given channel.
|
|
Begins a keyframe editing session, always call before editing keys.
|
|
Ends a keyframe editing session.
|
|
Get the inclusion status of a keyframe for a given channel.
|
|
Set the active status of a keyframe for a given channel.
|
|
Selects a keyframe on a given channel.
|
|
Determine whether a keyframe is selected or not.
|
|
Retrieves the tangent attributes of the specified keyframe.
|
|
Sets the tangent attributes of the specified keyframe.
|
|
Retrieves the transformation matrix from an object.
|
|
Retrieves the number of keyframes on a given object.
|
© 2003 pmG WorldWide,
LLC.
|
Last
Updated on Thu Jul 10 04:49:37 2003
|