ddg.visualization.blender.scene module
- ddg.visualization.blender.scene.clear(scene=None, deep=False, remove_collections=False)[source]
Unlink all the objects contained in the given scene, clears scene.collection.
- Parameters:
- scenebpy.types.Scene (default=None)
Scene to clear. If the argument is not provided or None bpy.context.scene will be set to scene.
- deepbool (default=False)
Delete the data corresponding to the objects.
- remove_collectionsbool (default=False)
Remove the collections (and its children) from the scene.
- Returns:
- None