Skip to content

Difference between Scene and DynamicScene is not clear #16353

@s-puig

Description

@s-puig

How can Bevy's documentation be improved?

Scene

/// A composition of [World] objects.
///
/// To spawn a scene, you can use either:
/// * SceneSpawner::spawn
/// * adding the SceneRoot component to an entity.

DynamicScene

/// A collection of serializable resources and dynamic entities.
///
/// Each dynamic entity in the collection contains its own run-time defined set of components.
/// To spawn a dynamic scene, you can use either:
/// * SceneSpawner::spawn_dynamic
/// * adding the DynamicSceneRoot component to an entity.
/// * using the [DynamicSceneBuilder] to construct a DynamicScene from World.

It is not clear what is the difference between a Scene and a DynamicScene or what are their use-cases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ScenesSerialized ECS data stored on the diskC-DocsAn addition or correction to our documentationD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions