Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_object_force.c
| Show First 20 Lines • Show All 1,680 Lines • ▼ Show 20 Lines | static void rna_def_softbody(BlenderRNA *brna) | ||||
| RNA_def_property_float_sdna(prop, NULL, "infrict"); | RNA_def_property_float_sdna(prop, NULL, "infrict"); | ||||
| RNA_def_property_range(prop, 0.0f, 50.0f); | RNA_def_property_range(prop, 0.0f, 50.0f); | ||||
| RNA_def_property_ui_text(prop, "Damp", "Edge spring friction"); | RNA_def_property_ui_text(prop, "Damp", "Edge spring friction"); | ||||
| RNA_def_property_update(prop, 0, "rna_softbody_update"); | RNA_def_property_update(prop, 0, "rna_softbody_update"); | ||||
| prop = RNA_def_property(srna, "spring_length", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "spring_length", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "springpreload"); | RNA_def_property_int_sdna(prop, NULL, "springpreload"); | ||||
| RNA_def_property_range(prop, 0.0f, 200.0f); | RNA_def_property_range(prop, 0.0f, 200.0f); | ||||
| RNA_def_property_ui_text(prop, "scene_layer", "Alter spring length to shrink/blow up (unit %) 0 to disable"); | RNA_def_property_ui_text(prop, "view_layer", "Alter spring length to shrink/blow up (unit %) 0 to disable"); | ||||
| RNA_def_property_update(prop, 0, "rna_softbody_update"); | RNA_def_property_update(prop, 0, "rna_softbody_update"); | ||||
| prop = RNA_def_property(srna, "aero", PROP_INT, PROP_NONE); | prop = RNA_def_property(srna, "aero", PROP_INT, PROP_NONE); | ||||
| RNA_def_property_int_sdna(prop, NULL, "aeroedge"); | RNA_def_property_int_sdna(prop, NULL, "aeroedge"); | ||||
| RNA_def_property_range(prop, 0.0f, 30000.0f); | RNA_def_property_range(prop, 0.0f, 30000.0f); | ||||
| RNA_def_property_ui_text(prop, "Aero", "Make edges 'sail'"); | RNA_def_property_ui_text(prop, "Aero", "Make edges 'sail'"); | ||||
| RNA_def_property_update(prop, 0, "rna_softbody_update"); | RNA_def_property_update(prop, 0, "rna_softbody_update"); | ||||
| ▲ Show 20 Lines • Show All 193 Lines • Show Last 20 Lines | |||||