Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_collection.h
| Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | |||||
| struct LayerCollection; | struct LayerCollection; | ||||
| struct Main; | struct Main; | ||||
| struct Object; | struct Object; | ||||
| struct Scene; | struct Scene; | ||||
| struct SceneCollection; | struct SceneCollection; | ||||
| struct SceneCollection *BKE_collection_add( | struct SceneCollection *BKE_collection_add( | ||||
| struct ID *owner_id, struct SceneCollection *sc_parent, const int type, const char *name); | struct ID *owner_id, struct SceneCollection *sc_parent, const int type, const char *name); | ||||
| bool BKE_collection_remove(struct ID *owner_id, struct SceneCollection *sc); | bool BKE_collection_remove(struct ID *owner_id, struct SceneCollection *sc, const struct Main *bmain); | ||||
| void BKE_collection_copy_data(struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const int flag); | void BKE_collection_copy_data(struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const int flag); | ||||
| struct SceneCollection *BKE_collection_master(const struct ID *owner_id); | struct SceneCollection *BKE_collection_master(const struct ID *owner_id); | ||||
| void BKE_collection_rename(const struct Scene *scene, struct SceneCollection *sc, const char *name); | void BKE_collection_rename(const struct Scene *scene, struct SceneCollection *sc, const char *name); | ||||
| void BKE_collection_master_free(struct ID *owner_id, const bool do_id_user); | void BKE_collection_master_free(struct ID *owner_id, const bool do_id_user); | ||||
| bool BKE_collection_object_add(const struct ID *owner_id, struct SceneCollection *sc, struct Object *object); | bool BKE_collection_object_add(const struct ID *owner_id, struct SceneCollection *sc, struct Object *object); | ||||
| void BKE_collection_object_add_from(struct Scene *scene, struct Object *ob_src, struct Object *ob_dst); | void BKE_collection_object_add_from(struct Scene *scene, struct Object *ob_src, struct Object *ob_dst); | ||||
| bool BKE_collection_object_remove(struct Main *bmain, struct ID *owner_id, struct SceneCollection *sc, struct Object *object, const bool free_us); | bool BKE_collection_object_remove(struct Main *bmain, struct ID *owner_id, struct SceneCollection *sc, struct Object *object, const bool free_us); | ||||
| bool BKE_collections_object_remove(struct Main *bmain, struct ID *owner_id, struct Object *object, const bool free_us); | bool BKE_collections_object_remove(struct Main *bmain, struct ID *owner_id, struct Object *object, const bool free_us); | ||||
| void BKE_collection_object_move(struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src, struct Object *ob); | void BKE_collection_object_move(struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src, struct Object *ob); | ||||
| struct Group *BKE_collection_group_create(struct Main *bmain, struct Scene *scene, struct LayerCollection *lc); | struct Group *BKE_collection_group_create(struct Main *bmain, struct Scene *scene, struct LayerCollection *lc); | ||||
| void BKE_collection_reinsert_after(const struct Scene *scene, struct SceneCollection *sc_reinsert, struct SceneCollection *sc_after); | void BKE_collection_reinsert_after(const struct Scene *scene, struct SceneCollection *sc_reinsert, struct SceneCollection *sc_after); | ||||
| void BKE_collection_reinsert_into(struct SceneCollection *sc_reinsert, struct SceneCollection *sc_into); | void BKE_collection_reinsert_into(struct SceneCollection *sc_reinsert, struct SceneCollection *sc_into); | ||||
| bool BKE_collection_move_above(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src); | bool BKE_collection_move_above(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const struct Main *bmain); | ||||
| bool BKE_collection_move_below(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src); | bool BKE_collection_move_below(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const struct Main *bmain); | ||||
| bool BKE_collection_move_into(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src); | bool BKE_collection_move_into(const struct ID *owner_id, struct SceneCollection *sc_dst, struct SceneCollection *sc_src, const struct Main *bmain); | ||||
| typedef void (*BKE_scene_objects_Cb)(struct Object *ob, void *data); | typedef void (*BKE_scene_objects_Cb)(struct Object *ob, void *data); | ||||
| typedef void (*BKE_scene_collections_Cb)(struct SceneCollection *ob, void *data); | typedef void (*BKE_scene_collections_Cb)(struct SceneCollection *ob, void *data); | ||||
| void BKE_scene_collections_callback(struct Scene *scene, BKE_scene_collections_Cb callback, void *data); | void BKE_scene_collections_callback(struct Scene *scene, BKE_scene_collections_Cb callback, void *data); | ||||
| void BKE_scene_objects_callback(struct Scene *scene, BKE_scene_objects_Cb callback, void *data); | void BKE_scene_objects_callback(struct Scene *scene, BKE_scene_objects_Cb callback, void *data); | ||||
| /* iterators */ | /* iterators */ | ||||
| Show All 31 Lines | |||||