Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_particle.c
| Show First 20 Lines • Show All 3,044 Lines • ▼ Show 20 Lines | static void rna_def_particle_settings(BlenderRNA *brna) | ||||
| RNA_def_property_float_sdna(prop, NULL, "childrandsize"); | RNA_def_property_float_sdna(prop, NULL, "childrandsize"); | ||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, "Random Child Size", "Random variation to the size of the child particles"); | prop, "Random Child Size", "Random variation to the size of the child particles"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | ||||
| prop = RNA_def_property(srna, "child_radius", PROP_FLOAT, PROP_DISTANCE); | prop = RNA_def_property(srna, "child_radius", PROP_FLOAT, PROP_DISTANCE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "childrad"); | RNA_def_property_float_sdna(prop, NULL, "childrad"); | ||||
| RNA_def_property_range(prop, 0.0f, 10.0f); | RNA_def_property_range(prop, 0.0f, 100000.0f); | ||||
| RNA_def_property_ui_range(prop, 0.0f, 10.0f, 0.1, 3); | |||||
| RNA_def_property_ui_text(prop, "Child Radius", "Radius of children around parent"); | RNA_def_property_ui_text(prop, "Child Radius", "Radius of children around parent"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | ||||
| prop = RNA_def_property(srna, "child_roundness", PROP_FLOAT, PROP_FACTOR); | prop = RNA_def_property(srna, "child_roundness", PROP_FLOAT, PROP_FACTOR); | ||||
| RNA_def_property_float_sdna(prop, NULL, "childflat"); | RNA_def_property_float_sdna(prop, NULL, "childflat"); | ||||
| RNA_def_property_range(prop, 0.0f, 1.0f); | RNA_def_property_range(prop, 0.0f, 1.0f); | ||||
| RNA_def_property_ui_text(prop, "Child Roundness", "Roundness of children around parent"); | RNA_def_property_ui_text(prop, "Child Roundness", "Roundness of children around parent"); | ||||
| RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | RNA_def_property_update(prop, 0, "rna_Particle_redo_child"); | ||||
| ▲ Show 20 Lines • Show All 845 Lines • Show Last 20 Lines | |||||