|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| int | BKE_anim_path_get_array_size (const struct CurveCache *curve_cache) |
| float | BKE_anim_path_get_length (const struct CurveCache *curve_cache) |
| void | BKE_anim_path_calc_data (struct Object *ob) |
| bool | BKE_where_on_path (const struct Object *ob, float ctime, float r_vec[4], float r_dir[3], float r_quat[4], float *r_radius, float *r_weight) |
| void BKE_anim_path_calc_data | ( | struct Object * | ob | ) |
This function populates the 'ob->runtime->curve_cache->anim_path_accum_length' data. You should never have to call this manually as it should already have been called by 'BKE_displist_make_curveTypes'. Do not call this manually unless you know what you are doing.
Definition at line 59 of file anim_path.cc.
References BevList::bevpoints, CLOG_WARN, get_bevlist_seg_array_size(), len_v3v3(), LOG, MEM_mallocN, MEM_SAFE_FREE, BevList::nr, OB_CURVES_LEGACY, BevList::poly, Object::runtime, Object::type, and BevPoint::vec.
Referenced by evaluate_curve_type_object().
| int BKE_anim_path_get_array_size | ( | const struct CurveCache * | curve_cache | ) |
Referenced by position_tail_on_spline().
| float BKE_anim_path_get_length | ( | const struct CurveCache * | curve_cache | ) |
Referenced by arrayModifier_doArray(), calc_curve_deform(), position_tail_on_spline(), splineik_evaluate_init(), and vfont_to_curve().
| bool BKE_where_on_path | ( | const struct Object * | ob, |
| float | ctime, | ||
| float | r_vec[4], | ||
| float | r_dir[3], | ||
| float | r_quat[4], | ||
| float * | r_radius, | ||
| float * | r_weight ) |
Calculate the deformation implied by the curve path at a given parametric position, and returns whether this operation succeeded.
| ctime | Time is normalized range <0-1>. |
Referenced by calc_curve_deform(), clampto_evaluate(), do_guides(), followpath_get_tarmat(), ob_parcurve(), blender::draw::overlay::ForceFields::object_sync(), OVERLAY_forcefield(), precalculate_effector(), splineik_evaluate_bone(), and vfont_to_curve().