Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_mesh.h
| Show First 20 Lines • Show All 284 Lines • ▼ Show 20 Lines | |||||
| struct Mesh *BKE_mesh_create_derived_for_modifier(struct Depsgraph *depsgraph, | struct Mesh *BKE_mesh_create_derived_for_modifier(struct Depsgraph *depsgraph, | ||||
| struct Scene *scene, | struct Scene *scene, | ||||
| struct Object *ob_eval, | struct Object *ob_eval, | ||||
| struct ModifierData *md_eval, | struct ModifierData *md_eval, | ||||
| bool use_virtual_modifiers, | bool use_virtual_modifiers, | ||||
| bool build_shapekey_layers); | bool build_shapekey_layers); | ||||
| /** | /** | ||||
| * Copies a nomain-Mesh into an existing Mesh. | * Move data from a mesh outside of the main data-base into a mesh in the data-base. | ||||
| * Takes ownership of the source mesh. | |||||
| */ | */ | ||||
| void BKE_mesh_nomain_to_mesh(struct Mesh *mesh_src, | void BKE_mesh_nomain_to_mesh(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct Object *ob); | ||||
| struct Mesh *mesh_dst, | |||||
| struct Object *ob, | |||||
| const struct CustomData_MeshMasks *mask, | |||||
| bool take_ownership); | |||||
| void BKE_mesh_nomain_to_meshkey(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct KeyBlock *kb); | void BKE_mesh_nomain_to_meshkey(struct Mesh *mesh_src, struct Mesh *mesh_dst, struct KeyBlock *kb); | ||||
| /* vertex level transformations & checks (no derived mesh) */ | /* vertex level transformations & checks (no derived mesh) */ | ||||
| /* basic vertex data functions */ | /* basic vertex data functions */ | ||||
| bool BKE_mesh_minmax(const struct Mesh *me, float r_min[3], float r_max[3]); | bool BKE_mesh_minmax(const struct Mesh *me, float r_min[3], float r_max[3]); | ||||
| void BKE_mesh_transform(struct Mesh *me, const float mat[4][4], bool do_keys); | void BKE_mesh_transform(struct Mesh *me, const float mat[4][4], bool do_keys); | ||||
| void BKE_mesh_translate(struct Mesh *me, const float offset[3], bool do_keys); | void BKE_mesh_translate(struct Mesh *me, const float offset[3], bool do_keys); | ||||
| ▲ Show 20 Lines • Show All 744 Lines • Show Last 20 Lines | |||||