Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_object.h
| Show First 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
| struct View3D; | struct View3D; | ||||
| struct SoftBody; | struct SoftBody; | ||||
| struct BulletSoftBody; | struct BulletSoftBody; | ||||
| struct MovieClip; | struct MovieClip; | ||||
| struct Main; | struct Main; | ||||
| struct RigidBodyWorld; | struct RigidBodyWorld; | ||||
| struct HookModifierData; | struct HookModifierData; | ||||
| struct ModifierData; | struct ModifierData; | ||||
| struct WorkSpace; | |||||
| void BKE_object_workob_clear(struct Object *workob); | void BKE_object_workob_clear(struct Object *workob); | ||||
| void BKE_object_workob_calc_parent(const struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *ob, struct Object *workob); | void BKE_object_workob_calc_parent(const struct EvaluationContext *eval_ctx, struct Scene *scene, struct Object *ob, struct Object *workob); | ||||
| void BKE_object_transform_copy(struct Object *ob_tar, const struct Object *ob_src); | void BKE_object_transform_copy(struct Object *ob_tar, const struct Object *ob_src); | ||||
| struct SoftBody *copy_softbody(const struct SoftBody *sb, const int flag); | struct SoftBody *copy_softbody(const struct SoftBody *sb, const int flag); | ||||
| struct BulletSoftBody *copy_bulletsoftbody(const struct BulletSoftBody *sb, const int flag); | struct BulletSoftBody *copy_bulletsoftbody(const struct BulletSoftBody *sb, const int flag); | ||||
| struct ParticleSystem *BKE_object_copy_particlesystem(struct ParticleSystem *psys, const int flag); | struct ParticleSystem *BKE_object_copy_particlesystem(struct ParticleSystem *psys, const int flag); | ||||
| Show All 14 Lines | |||||
| void BKE_object_link_modifiers(struct Object *ob_dst, const struct Object *ob_src); | void BKE_object_link_modifiers(struct Object *ob_dst, const struct Object *ob_src); | ||||
| void BKE_object_free_modifiers(struct Object *ob); | void BKE_object_free_modifiers(struct Object *ob); | ||||
| void BKE_object_make_proxy(struct Object *ob, struct Object *target, struct Object *gob); | void BKE_object_make_proxy(struct Object *ob, struct Object *target, struct Object *gob); | ||||
| void BKE_object_copy_proxy_drivers(struct Object *ob, struct Object *target); | void BKE_object_copy_proxy_drivers(struct Object *ob, struct Object *target); | ||||
| bool BKE_object_exists_check(struct Object *obtest); | bool BKE_object_exists_check(struct Object *obtest); | ||||
| bool BKE_object_is_mode_compatible(const struct Object *ob, int mode); | |||||
| bool BKE_object_is_in_editmode(struct Object *ob); | bool BKE_object_is_in_editmode(struct Object *ob); | ||||
| bool BKE_object_is_in_editmode_vgroup(struct Object *ob); | bool BKE_object_is_in_editmode_vgroup(struct Object *ob); | ||||
| bool BKE_object_is_in_wpaint_select_vert(struct Object *ob); | bool BKE_object_is_in_wpaint_select_vert(struct Object *ob); | ||||
| typedef enum eObjectVisibilityCheck { | typedef enum eObjectVisibilityCheck { | ||||
| OB_VISIBILITY_CHECK_FOR_VIEWPORT, | OB_VISIBILITY_CHECK_FOR_VIEWPORT, | ||||
| OB_VISIBILITY_CHECK_FOR_RENDER, | OB_VISIBILITY_CHECK_FOR_RENDER, | ||||
| OB_VISIBILITY_CHECK_UNKNOWN_RENDER_MODE, | OB_VISIBILITY_CHECK_UNKNOWN_RENDER_MODE, | ||||
| } eObjectVisibilityCheck; | } eObjectVisibilityCheck; | ||||
| bool BKE_object_is_visible(struct Object *ob, const eObjectVisibilityCheck mode); | bool BKE_object_is_visible(struct Object *ob, const eObjectVisibilityCheck mode); | ||||
| void BKE_object_init(struct Object *ob); | void BKE_object_init(struct Object *ob); | ||||
| struct Object *BKE_object_add_only_object( | struct Object *BKE_object_add_only_object( | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| int type, const char *name) | int type, const char *name) | ||||
| ATTR_NONNULL(1) ATTR_RETURNS_NONNULL; | ATTR_NONNULL(1) ATTR_RETURNS_NONNULL; | ||||
| struct Object *BKE_object_add( | struct Object *BKE_object_add( | ||||
| struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, | struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, | ||||
| struct WorkSpace *workspace, | |||||
| int type, const char *name) | int type, const char *name) | ||||
| ATTR_NONNULL(1, 2, 3) ATTR_RETURNS_NONNULL; | ATTR_NONNULL(1, 2, 3) ATTR_RETURNS_NONNULL; | ||||
| struct Object *BKE_object_add_from( | struct Object *BKE_object_add_from( | ||||
| struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, | struct Main *bmain, struct Scene *scene, struct ViewLayer *view_layer, | ||||
| int type, const char *name, struct Object *ob_src) | int type, const char *name, struct Object *ob_src, | ||||
| struct WorkSpace *workspace) | |||||
| ATTR_NONNULL(1, 2, 3, 6) ATTR_RETURNS_NONNULL; | ATTR_NONNULL(1, 2, 3, 6) ATTR_RETURNS_NONNULL; | ||||
| void *BKE_object_obdata_add_from_type( | void *BKE_object_obdata_add_from_type( | ||||
| struct Main *bmain, | struct Main *bmain, | ||||
| int type, const char *name) | int type, const char *name) | ||||
| ATTR_NONNULL(1); | ATTR_NONNULL(1); | ||||
| void BKE_object_lod_add(struct Object *ob); | void BKE_object_lod_add(struct Object *ob); | ||||
| void BKE_object_lod_sort(struct Object *ob); | void BKE_object_lod_sort(struct Object *ob); | ||||
| ▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines | |||||