27 {0,
"TAILS", 0,
"Tails",
"Calculate bone paths from tails"},
29 {MOTIONPATH_BAKE_CENTERS,
33 "Calculate bone paths from center of mass"},
35 {0,
nullptr, 0,
nullptr,
nullptr},
43 "Display Paths of poses within a fixed number of frames around the current frame"},
48 "Display Paths of poses within specified range"},
49 {0,
nullptr, 0,
nullptr,
nullptr},
58 "From the first selected keyframe to the last"},
61 {0,
nullptr, 0,
nullptr,
nullptr},
77static void rna_AnimViz_path_start_frame_set(
PointerRNA *ptr,
int value)
82 data->path_sf = value;
88static void rna_AnimViz_path_end_frame_set(
PointerRNA *ptr,
int value)
92 data->path_ef = value;
141 srna,
"Motion Path",
"Cache of the world-space positions of an element over a frame range");
168 prop,
"Color Pre",
"Custom color for motion path before the current frame");
175 prop,
"Color Post",
"Custom color for motion path after the current frame");
194 "For PoseBone paths, use the bone head location when calculating this path");
226 srna,
"Motion Path Settings",
"Motion Path settings for animation visualization");
258 prop,
"Highlight Keyframes",
"Emphasize position of keyframes on Motion Paths");
264 prop,
"Show Keyframe Numbers",
"Show frame numbers of Keyframes on Motion Paths");
271 "All Action Keyframes",
272 "For bone motion paths, search whole Action for keyframes instead of in group"
273 " with matching name only (is slower)");
282 "Number of frames between paths shown (not for 'On Keyframes' Onion-skinning method)");
291 "Starting frame of range of paths to display/calculate "
292 "(not for 'Around Frame' Onion-skinning method)");
300 "End frame of range of paths to display/calculate "
301 "(not for 'Around Frame' Onion-skinning method)");
310 "Number of frames to show before the current frame "
311 "(only for 'Around Frame' Onion-skinning method)");
319 "Number of frames to show after the current frame "
320 "(only for 'Around Frame' Onion-skinning method)");
329 prop,
"Has Motion Paths",
"Are there any bone paths that will need updating (read-only)");
336 "Bake to active Camera",
337 "Motion path points will be baked into the camera space of the active camera. This means "
338 "they will only look right when looking through that camera. Switching cameras using "
339 "markers is not supported.");
365 srna,
"Animation Visualization",
"Settings for the visualization of motion");
#define FRAMENUMBER_MIN_CLAMP(cfra)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
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_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_animviz(BlenderRNA *brna)
void RNA_define_lib_overridable(const bool make_overridable)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
const EnumPropertyItem rna_enum_motionpath_bake_location_items[]
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void rna_def_animviz_common(StructRNA *srna)
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
static void rna_def_animviz(BlenderRNA *brna)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier_c_str, int type, int subtype)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
static void rna_def_animviz_motionpath_vert(BlenderRNA *brna)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
BMesh const char void * data
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
static void rna_def_animviz_paths(BlenderRNA *brna)
const EnumPropertyItem rna_enum_motionpath_range_items[]
static void rna_def_animviz_motion_path(BlenderRNA *brna)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
@ MOTIONPATH_RANGE_KEYS_ALL
@ MOTIONPATH_RANGE_MANUAL
@ MOTIONPATH_RANGE_KEYS_SELECTED
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
const EnumPropertyItem rna_enum_motionpath_display_type_items[]
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
void rna_def_motionpath_common(StructRNA *srna)
@ MOTIONPATH_BAKE_CAMERA_SPACE
@ MOTIONPATH_BAKE_HAS_PATHS
void RNA_def_property_array(PropertyRNA *prop, int length)