Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_nodetree.c
| Context not available. | |||||
| func = RNA_def_function(srna, "calc_point_density", "rna_ShaderNodePointDensity_density_calc"); | func = RNA_def_function(srna, "calc_point_density", "rna_ShaderNodePointDensity_density_calc"); | ||||
| RNA_def_function_ui_description(func, "Calculate point density"); | RNA_def_function_ui_description(func, "Calculate point density"); | ||||
| RNA_def_pointer(func, "depsgraph", "Depsgraph", "", ""); | RNA_def_pointer(func, "depsgraph", "Depsgraph", "", ""); | ||||
| /* TODO, See how array size of 0 works, this shouldnt be used. */ | /* TODO, See how array size of 0 works, this shouldn't be used. */ | ||||
| parm = RNA_def_float_array(func, "rgba_values", 1, NULL, 0, 0, "", "RGBA Values", 0, 0); | parm = RNA_def_float_array(func, "rgba_values", 1, NULL, 0, 0, "", "RGBA Values", 0, 0); | ||||
| RNA_def_parameter_flags(parm, PROP_DYNAMIC, 0); | RNA_def_parameter_flags(parm, PROP_DYNAMIC, 0); | ||||
| RNA_def_function_output(func, parm); | RNA_def_function_output(func, parm); | ||||
| Context not available. | |||||