Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_cloth.c
| Show First 20 Lines • Show All 646 Lines • ▼ Show 20 Lines | RNA_def_property_ui_text( | ||||
| prop, "Target Density Strength", "Influence of target density on the simulation"); | prop, "Target Density Strength", "Influence of target density on the simulation"); | ||||
| RNA_def_property_update(prop, 0, "rna_cloth_update"); | RNA_def_property_update(prop, 0, "rna_cloth_update"); | ||||
| /* mass */ | /* mass */ | ||||
| prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_UNIT_MASS); | prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_UNIT_MASS); | ||||
| RNA_def_property_range(prop, 0.0f, FLT_MAX); | RNA_def_property_range(prop, 0.0f, FLT_MAX); | ||||
| RNA_def_property_ui_text(prop, "Vertex Mass", "The mass of each vertex on the cloth material"); | RNA_def_property_ui_text(prop, "Vertex Mass", "The mass of each vertex on the cloth material"); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_update(prop, 0, "rna_cloth_update"); | RNA_def_property_update(prop, 0, "rna_cloth_update"); | ||||
| prop = RNA_def_property(srna, "vertex_group_mass", PROP_STRING, PROP_NONE); | prop = RNA_def_property(srna, "vertex_group_mass", PROP_STRING, PROP_NONE); | ||||
| RNA_def_property_string_funcs(prop, | RNA_def_property_string_funcs(prop, | ||||
| "rna_ClothSettings_mass_vgroup_get", | "rna_ClothSettings_mass_vgroup_get", | ||||
| "rna_ClothSettings_mass_vgroup_length", | "rna_ClothSettings_mass_vgroup_length", | ||||
| "rna_ClothSettings_mass_vgroup_set"); | "rna_ClothSettings_mass_vgroup_set"); | ||||
| RNA_def_property_ui_text(prop, "Mass Vertex Group", "Vertex Group for pinning of vertices"); | RNA_def_property_ui_text(prop, "Mass Vertex Group", "Vertex Group for pinning of vertices"); | ||||
| ▲ Show 20 Lines • Show All 553 Lines • Show Last 20 Lines | |||||