Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_rigidbody.c
| Show First 20 Lines • Show All 951 Lines • ▼ Show 20 Lines | static void rna_def_rigidbody_world(BlenderRNA *brna) | ||||
| RNA_def_property_pointer_funcs(prop, "rna_RigidBodyWorld_PointCache_get", NULL, NULL, NULL); | RNA_def_property_pointer_funcs(prop, "rna_RigidBodyWorld_PointCache_get", NULL, NULL, NULL); | ||||
| RNA_def_property_struct_type(prop, "PointCache"); | RNA_def_property_struct_type(prop, "PointCache"); | ||||
| RNA_def_property_ui_text(prop, "Point Cache", ""); | RNA_def_property_ui_text(prop, "Point Cache", ""); | ||||
| /* effector weights */ | /* effector weights */ | ||||
| prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "EffectorWeights"); | RNA_def_property_struct_type(prop, "EffectorWeights"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | |||||
| RNA_def_property_ui_text(prop, "Effector Weights", ""); | RNA_def_property_ui_text(prop, "Effector Weights", ""); | ||||
| /* Sweep test */ | /* Sweep test */ | ||||
| func = RNA_def_function(srna, "convex_sweep_test", "rna_RigidBodyWorld_convex_sweep_test"); | func = RNA_def_function(srna, "convex_sweep_test", "rna_RigidBodyWorld_convex_sweep_test"); | ||||
| RNA_def_function_ui_description( | RNA_def_function_ui_description( | ||||
| func, "Sweep test convex rigidbody against the current rigidbody world"); | func, "Sweep test convex rigidbody against the current rigidbody world"); | ||||
| RNA_def_function_flag(func, FUNC_USE_REPORTS); | RNA_def_function_flag(func, FUNC_USE_REPORTS); | ||||
| parm = RNA_def_pointer( | parm = RNA_def_pointer( | ||||
| ▲ Show 20 Lines • Show All 634 Lines • Show Last 20 Lines | |||||