33static void rna_CurveProfilePoint_handle_type_set(
PointerRNA *
ptr,
int value)
45static void rna_CurveProfile_clip_set(
PointerRNA *
ptr,
bool value)
59static void rna_CurveProfile_sample_straight_set(
PointerRNA *
ptr,
bool value)
73static void rna_CurveProfile_sample_even_set(
PointerRNA *
ptr,
bool value)
87static void rna_CurveProfile_remove_point(
CurveProfile *profile,
100static void rna_CurveProfile_evaluate(
CurveProfile *profile,
102 float length_portion,
105 if (!profile->
table) {
111static void rna_CurveProfile_initialize(
CurveProfile *profile,
int segments_len)
116static void rna_CurveProfile_update(
CurveProfile *profile)
124 {
HD_AUTO,
"AUTO", ICON_HANDLE_AUTO,
"Auto Handle",
""},
125 {
HD_VECT,
"VECTOR", ICON_HANDLE_VECTOR,
"Vector Handle",
""},
126 {
HD_FREE,
"FREE", ICON_HANDLE_FREE,
"Free Handle",
""},
127 {
HD_ALIGN,
"ALIGN", ICON_HANDLE_ALIGNED,
"Aligned Free Handles",
""},
128 {0,
nullptr, 0,
nullptr,
nullptr},
180 "X Position for new point",
190 "Y Position for new point",
194 parm =
RNA_def_pointer(func,
"point",
"CurveProfilePoint",
"",
"New point");
200 parm =
RNA_def_pointer(func,
"point",
"CurveProfilePoint",
"",
"Point to remove");
217 {
PROF_PRESET_STEPS,
"STEPS", 0,
"Steps",
"A number of steps defined by the segments"},
218 {0,
nullptr, 0,
nullptr,
nullptr},
258 "The number of segment values to"
259 " initialize the segments table with",
285 "Portion of the path length to travel before evaluation",
296 "The location at the given portion of the profile",
void BKE_curveprofile_selected_handle_set(struct CurveProfile *profile, int type_1, int type_2)
bool BKE_curveprofile_remove_point(struct CurveProfile *profile, struct CurveProfilePoint *point)
void BKE_curveprofile_update(struct CurveProfile *profile, int update_flags)
void BKE_curveprofile_evaluate_length_portion(const struct CurveProfile *profile, float length_portion, float *x_out, float *y_out)
void BKE_curveprofile_init(struct CurveProfile *profile, short segments_len)
@ PROF_UPDATE_REMOVE_DOUBLES
void BKE_report(ReportList *reports, eReportType type, const char *message)
#define BLT_I18NCONTEXT_ID_MESH
@ PROF_SAMPLE_EVEN_LENGTHS
@ PROF_SAMPLE_STRAIGHT_EDGES
in reality light always falls off quadratically Particle Retrieve the data of the particle that spawned the object for example to give variation to multiple instances of an object Point Retrieve information about points in a point cloud Retrieve the edges of an object as it appears to Cycles topology will always appear triangulated Convert a blackbody temperature to an RGB value Normal Generate a perturbed normal from an RGB normal map image Typically used for faking highly detailed surfaces Generate an OSL shader from a file or text data block Image Sample an image file as a texture Gabor Generate Gabor noise Gradient Generate interpolated color and intensity values based on the input vector Magic Generate a psychedelic color texture Voronoi Generate Worley noise based on the distance to random points Typically used to generate textures such as or biological cells Brick Generate a procedural texture producing bricks Texture Retrieve multiple types of texture coordinates nTypically used as inputs for texture nodes Vector Convert a point
#define RNA_POINTER_INVALIDATE(ptr)
static void rna_def_curveprofile(BlenderRNA *brna)
static const EnumPropertyItem prop_handle_type_items[]
static void rna_def_curveprofilepoint(BlenderRNA *brna)
static void rna_def_curveprofile_points_api(BlenderRNA *brna, PropertyRNA *cprop)
void RNA_def_profile(BlenderRNA *brna)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, const float default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
PropertyRNA * RNA_def_float_vector(StructOrFunctionRNA *cont_, const char *identifier, const int len, const float *default_value, const float hardmin, const float hardmax, const char *ui_name, const char *ui_description, const float softmin, const float softmax)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_array(PropertyRNA *prop, int length)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_function_output(FunctionRNA *, PropertyRNA *ret)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
CurveProfilePoint * table
void WM_main_add_notifier(uint type, void *reference)