37 static void rna_LatticePoint_co_get(
PointerRNA *
ptr,
float *values)
41 int index = bp - lt->
def;
46 values[0] = lt->
fu + u * lt->
du;
47 values[1] = lt->
fv +
v * lt->
dv;
48 values[2] = lt->
fw +
w * lt->
dw;
95 static void rna_Lattice_update_data_editlatt(
Main *
UNUSED(bmain),
119 int newu, newv, neww;
128 if (ob->data == lt) {
145 rna_Lattice_update_data(bmain,
scene,
ptr);
148 static void rna_Lattice_use_outside_set(
PointerRNA *
ptr,
bool value)
180 static void rna_Lattice_points_u_set(
PointerRNA *
ptr,
int value)
187 static void rna_Lattice_points_v_set(
PointerRNA *
ptr,
int value)
194 static void rna_Lattice_points_w_set(
PointerRNA *
ptr,
int value)
201 static void rna_Lattice_vg_name_set(
PointerRNA *
ptr,
const char *value)
225 if (points &&
point) {
229 if ((
point >= (
void *)points) && (
point < (
void *)(points + tot))) {
268 "Original undeformed location used to calculate the strength of the deform effect "
269 "(edit/animate the Deformed Location instead)");
285 "rna_LatticePoint_groups_begin",
286 "rna_iterator_array_next",
287 "rna_iterator_array_end",
288 "rna_iterator_array_get",
295 prop,
"Groups",
"Weights for the vertex groups this point is member of");
305 srna,
"Lattice",
"Lattice data-block defining a grid for deforming other objects");
314 prop,
"U",
"Point in U direction (can't be changed when there are shape keys)");
324 prop,
"V",
"Point in V direction (can't be changed when there are shape keys)");
334 prop,
"W",
"Point in W direction (can't be changed when there are shape keys)");
360 prop,
"Outside",
"Only display and take into account the outer vertices");
366 prop,
"Vertex Group",
"Vertex group to apply the influence of the lattice");
379 "rna_Lattice_points_begin",
380 "rna_iterator_array_next",
381 "rna_iterator_array_end",
382 "rna_iterator_array_get",
void BKE_lattice_index_to_uvw(struct Lattice *lt, int index, int *r_u, int *r_v, int *r_w)
void BKE_lattice_resize(struct Lattice *lt, int u, int v, int w, struct Object *ltOb)
void outside_lattice(struct Lattice *lt)
size_t size_t char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
void DEG_id_tag_update(struct ID *id, int flag)
Object is a sort of wrapper for general info.
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 Sky Generate a procedural sky texture Noise Generate fractal Perlin noise Wave Generate procedural bands or rings with noise 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
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
return(oflags[bm->toolflag_index].f &oflag) !=0
ATTR_WARN_UNUSED_RESULT const BMVert * v
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
void rna_iterator_array_begin(CollectionPropertyIterator *iter, void *ptr, int itemsize, int length, bool free_ptr, IteratorSkipFunc skip)
void rna_def_animdata_common(StructRNA *srna)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
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)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_api_lattice(struct StructRNA *srna)
const EnumPropertyItem rna_enum_keyblock_type_items[]
static void rna_def_lattice(BlenderRNA *brna)
void RNA_def_lattice(BlenderRNA *brna)
static void rna_def_latticepoint(BlenderRNA *brna)
struct MDeformVert * dvert
struct EditLatt * editlatt
void WM_main_add_notifier(unsigned int type, void *reference)