Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/nla_private.h
| Show First 20 Lines • Show All 100 Lines • ▼ Show 20 Lines | typedef struct NlaEvalChannel { | ||||
| struct NlaEvalData *owner; | struct NlaEvalData *owner; | ||||
| /* Original RNA path string and property key. */ | /* Original RNA path string and property key. */ | ||||
| const char *rna_path; | const char *rna_path; | ||||
| NlaEvalChannelKey key; | NlaEvalChannelKey key; | ||||
| int index; | int index; | ||||
| bool is_array; | bool is_array; | ||||
| bool in_blend; | |||||
| char mix_mode; | char mix_mode; | ||||
| struct NlaEvalChannel *next_blend; | /* Associated with the RNA property's value(s), marks which elements are affected by NLA. */ | ||||
| NlaEvalChannelSnapshot *blend_snapshot; | NlaValidMask domain; | ||||
| /* Mask of array items controlled by NLA. */ | |||||
| NlaValidMask valid; | |||||
| /* Base set of values. */ | /* Base set of values. */ | ||||
| NlaEvalChannelSnapshot base_snapshot; | NlaEvalChannelSnapshot base_snapshot; | ||||
| /* Memory over-allocated to provide space for base_snapshot.values. */ | /* Memory over-allocated to provide space for base_snapshot.values. */ | ||||
| } NlaEvalChannel; | } NlaEvalChannel; | ||||
| /* Set of values for all channels. */ | /* Set of values for all channels. */ | ||||
| typedef struct NlaEvalSnapshot { | typedef struct NlaEvalSnapshot { | ||||
| ▲ Show 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | void nlastrip_evaluate(PointerRNA *ptr, | ||||
| NlaEvalSnapshot *snapshot, | NlaEvalSnapshot *snapshot, | ||||
| const struct AnimationEvalContext *anim_eval_context, | const struct AnimationEvalContext *anim_eval_context, | ||||
| const bool flush_to_original); | const bool flush_to_original); | ||||
| void nladata_flush_channels(PointerRNA *ptr, | void nladata_flush_channels(PointerRNA *ptr, | ||||
| NlaEvalData *channels, | NlaEvalData *channels, | ||||
| NlaEvalSnapshot *snapshot, | NlaEvalSnapshot *snapshot, | ||||
| const bool flush_to_original); | const bool flush_to_original); | ||||
| void nlasnapshot_blend(NlaEvalData *eval_data, | |||||
| NlaEvalSnapshot *lower_snapshot, | |||||
| NlaEvalSnapshot *upper_snapshot, | |||||
| const short upper_blendmode, | |||||
| const float upper_influence, | |||||
| NlaEvalSnapshot *r_blended_snapshot); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||