30 {0,
"TAILS", 0,
"Tails",
"Calculate bone paths from tails"},
32 {MOTIONPATH_BAKE_CENTERS,
36 "Calculate bone paths from center of mass"},
38 {0,
nullptr, 0,
nullptr,
nullptr},
46 "Display Paths of poses within a fixed number of frames around the current frame"},
51 "Display Paths of poses within specified range"},
52 {0,
nullptr, 0,
nullptr,
nullptr},
61 "From the first selected keyframe to the last"},
64 {0,
nullptr, 0,
nullptr,
nullptr},
74static void rna_AnimViz_path_start_frame_set(
PointerRNA *
ptr,
int value)
79 data->path_sf = value;
85static void rna_AnimViz_path_end_frame_set(
PointerRNA *
ptr,
int value)
89 data->path_ef = value;
90 CLAMP_MAX(data->path_sf, data->path_ef - 1);
134 srna,
"Motion Path",
"Cache of the world-space positions of an element over a frame range");
161 prop,
"Color Pre",
"Custom color for motion path before the current frame");
168 prop,
"Color Post",
"Custom color for motion path after the current frame");
187 "For PoseBone paths, use the bone head location when calculating this path");
219 srna,
"Motion Path Settings",
"Motion Path settings for animation visualization");
251 prop,
"Highlight Keyframes",
"Emphasize position of keyframes on Motion Paths");
257 prop,
"Show Keyframe Numbers",
"Show frame numbers of Keyframes on Motion Paths");
264 "All Action Keyframes",
265 "For bone motion paths, search whole Action for keyframes instead of in group"
266 " with matching name only (is slower)");
275 "Number of frames between paths shown (not for 'On Keyframes' Onion-skinning method)");
284 "Starting frame of range of paths to display/calculate "
285 "(not for 'Around Frame' Onion-skinning method)");
293 "End frame of range of paths to display/calculate "
294 "(not for 'Around Frame' Onion-skinning method)");
303 "Number of frames to show before the current frame "
304 "(only for 'Around Frame' Onion-skinning method)");
312 "Number of frames to show after the current frame "
313 "(only for 'Around Frame' Onion-skinning method)");
322 prop,
"Has Motion Paths",
"Are there any bone paths that will need updating (read-only)");
329 "Bake to active Camera",
330 "Motion path points will be baked into the camera space of the active camera. This means "
331 "they will only look right when looking through that camera. Switching cameras using "
332 "markers is not supported.");
358 srna,
"Animation Visualization",
"Settings for the visualization of motion");
@ MOTIONPATH_BAKE_CAMERA_SPACE
@ MOTIONPATH_BAKE_HAS_PATHS
@ MOTIONPATH_RANGE_KEYS_ALL
@ MOTIONPATH_RANGE_KEYS_SELECTED
@ MOTIONPATH_RANGE_MANUAL
#define FRAMENUMBER_MIN_CLAMP(cfra)
Read Guarded memory(de)allocation.
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
PointerRNA rna_pointer_inherit_refine(const PointerRNA *ptr, StructRNA *type, void *data)
const EnumPropertyItem rna_enum_motionpath_display_type_items[]
static void rna_def_animviz_motionpath_vert(BlenderRNA *brna)
const EnumPropertyItem rna_enum_motionpath_range_items[]
void rna_def_animviz_common(StructRNA *srna)
const EnumPropertyItem rna_enum_motionpath_bake_location_items[]
void RNA_def_animviz(BlenderRNA *brna)
static void rna_def_animviz_motion_path(BlenderRNA *brna)
static void rna_def_animviz(BlenderRNA *brna)
void rna_def_motionpath_common(StructRNA *srna)
static void rna_def_animviz_paths(BlenderRNA *brna)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_define_lib_overridable(const bool make_overridable)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)