Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_cloth.c
| Context not available. | |||||
| /* mass */ | /* mass */ | ||||
| prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "mass", PROP_FLOAT, PROP_UNIT_MASS); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_range(prop, 0.0f, 10.0f); | ||||
| RNA_def_property_ui_text(prop, "Mass", "Mass of cloth material"); | RNA_def_property_ui_text(prop, "Mass", "Mass of cloth material"); | ||||
| RNA_def_property_update(prop, 0, "rna_cloth_update"); | RNA_def_property_update(prop, 0, "rna_cloth_update"); | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Enable Collision", "Enable collisions with other objects"); | RNA_def_property_ui_text(prop, "Enable Collision", "Enable collisions with other objects"); | ||||
| RNA_def_property_update(prop, 0, "rna_cloth_update"); | RNA_def_property_update(prop, 0, "rna_cloth_update"); | ||||
| prop = RNA_def_property(srna, "distance_min", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "distance_min", PROP_FLOAT, PROP_DISTANCE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "epsilon"); | RNA_def_property_float_sdna(prop, NULL, "epsilon"); | ||||
| RNA_def_property_range(prop, 0.001f, 1.0f); | RNA_def_property_range(prop, 0.001f, 1.0f); | ||||
| RNA_def_property_ui_text(prop, "Minimum Distance", | RNA_def_property_ui_text(prop, "Minimum Distance", | ||||
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Enable Self Collision", "Enable self collisions"); | RNA_def_property_ui_text(prop, "Enable Self Collision", "Enable self collisions"); | ||||
| RNA_def_property_update(prop, 0, "rna_cloth_update"); | RNA_def_property_update(prop, 0, "rna_cloth_update"); | ||||
| prop = RNA_def_property(srna, "self_distance_min", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "self_distance_min", PROP_FLOAT, PROP_DISTANCE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "selfepsilon"); | RNA_def_property_float_sdna(prop, NULL, "selfepsilon"); | ||||
| RNA_def_property_range(prop, 0.001f, 0.1f); | RNA_def_property_range(prop, 0.001f, 0.1f); | ||||
| RNA_def_property_ui_text(prop, "Self Minimum Distance", "Minimum distance between cloth faces before collision response takes effect"); | RNA_def_property_ui_text(prop, "Self Minimum Distance", "Minimum distance between cloth faces before collision response takes effect"); | ||||
| Context not available. | |||||