Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
| Context not available. | |||||
| prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "custom2", SHD_MATH_CLAMP); | RNA_def_property_boolean_sdna(prop, NULL, "custom2", SHD_MATH_CLAMP); | ||||
| RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0..1 range"); | RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0.0 to 1.0 range"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| } | } | ||||
| Context not available. | |||||
| prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "custom2", SHD_MIXRGB_CLAMP); | RNA_def_property_boolean_sdna(prop, NULL, "custom2", SHD_MIXRGB_CLAMP); | ||||
| RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0..1 range"); | RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0.0 to 1.0 range"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| } | } | ||||
| Context not available. | |||||
| "PARTICLE_AGE", | "PARTICLE_AGE", | ||||
| 0, | 0, | ||||
| "Particle Age", | "Particle Age", | ||||
| "Lifetime mapped as 0.0 - 1.0 intensity"}, | "Lifetime mapped as 0.0 to 1.0 intensity"}, | ||||
| {SHD_POINTDENSITY_COLOR_PARTSPEED, | {SHD_POINTDENSITY_COLOR_PARTSPEED, | ||||
| "PARTICLE_SPEED", | "PARTICLE_SPEED", | ||||
| 0, | 0, | ||||
| "Particle Speed", | "Particle Speed", | ||||
| "Particle speed (absolute magnitude of velocity) mapped as 0.0-1.0 intensity"}, | "Particle speed (absolute magnitude of velocity) mapped as 0.0 to 1.0 intensity"}, | ||||
| {SHD_POINTDENSITY_COLOR_PARTVEL, | {SHD_POINTDENSITY_COLOR_PARTVEL, | ||||
| "PARTICLE_VELOCITY", | "PARTICLE_VELOCITY", | ||||
| 0, | 0, | ||||
| Context not available. | |||||
| prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_clamp", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "custom1", 1); | RNA_def_property_boolean_sdna(prop, NULL, "custom1", 1); | ||||
| RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0..1 range"); | RNA_def_property_ui_text(prop, "Clamp", "Clamp result of the node to 0.0 to 1.0 range"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| } | } | ||||
| Context not available. | |||||
| RNA_def_property_ui_text( | RNA_def_property_ui_text( | ||||
| prop, | prop, | ||||
| "Threshold", | "Threshold", | ||||
| "CoC radius threshold, prevents background bleed on in-focus midground, 0=off"); | "CoC radius threshold, prevents background bleed on in-focus midground, 0 means off"); | ||||
| RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update"); | ||||
| prop = RNA_def_property(srna, "use_preview", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_preview", PROP_BOOLEAN, PROP_NONE); | ||||
| Context not available. | |||||