Blender V5.3
blender::FCurve_KeyCache Struct Reference

Public Attributes

FCurve * fcurve
float * fcurve_eval
BezTriple ** bezt_array

Detailed Description

This structure is created for each pose channels F-Curve, an action be evaluated and stored in fcurve_eval, with the mirrored values written into bezt_array.

Store F-Curve evaluated values, constructed with a sorted array of rounded keyed-frames, passed to action_flip_pchan_cache_init.

Definition at line 66 of file action_mirror.cc.

Member Data Documentation

◆ bezt_array

BezTriple** blender::FCurve_KeyCache::bezt_array

Cached #FCurve.bezt values, nullptr when no key-frame exists on this frame.

Note
The case where two keyframes round to the same frame isn't supported. In this case only the first will be used.

Definition at line 81 of file action_mirror.cc.

Referenced by blender::action_flip_pchan(), and blender::action_flip_pchan_cache_init().

◆ fcurve

◆ fcurve_eval

float* blender::FCurve_KeyCache::fcurve_eval

Cached evaluated F-Curve values (without modifiers).

Definition at line 74 of file action_mirror.cc.

Referenced by blender::action_flip_pchan(), and blender::action_flip_pchan_cache_init().


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