A interface representing a displayable scene. Aggregates in one place the hierarchy of Entities with their Components, AssetManager and Renderlist and makes it work all together.

Hierarchy

  • Scene

Methods

  • Parameters

    Returns void

  • Returns void

  • Get all components present in this scene of specified type

    Parameters

    Returns Vector<Component>

  • Return first found layer with name layerName or NULL if such layer doesn't exist.

    Parameters

    • layerName: string

    Returns Layer

  • Get a scene name.

    Returns string

  • Get the root of entities hierarchy. It always exists and has a name "Root".

    Returns Entity

  • Parameters

    Returns void

  • Set a new name for a scene. The name could be empty.

    Parameters

    • name: string

    Returns void

  • Parameters

    Returns void