Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_fcurve.h
| Show First 20 Lines • Show All 366 Lines • ▼ Show 20 Lines | |||||
| /* -------- Main Methods -------- */ | /* -------- Main Methods -------- */ | ||||
| /* Main API function for creating a set of sampled curve data, given some callback function | /* Main API function for creating a set of sampled curve data, given some callback function | ||||
| * used to retrieve the values to store. | * used to retrieve the values to store. | ||||
| */ | */ | ||||
| void fcurve_store_samples( | void fcurve_store_samples( | ||||
| struct FCurve *fcu, void *data, int start, int end, FcuSampleFunc sample_cb); | struct FCurve *fcu, void *data, int start, int end, FcuSampleFunc sample_cb); | ||||
| /* Convert baked/sampled fcurves into bezt/regular fcurves. */ | |||||
| void fcurve_samples_to_keyframes(struct FCurve *fcu, int start, int end); | |||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||
| #endif /* __BKE_FCURVE_H__*/ | #endif /* __BKE_FCURVE_H__*/ | ||||