Preparing search index...

    Represents the open Lens Studio project, providing access to the scene, asset manager, and project settings.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    assetManager: AssetManager

    The asset manager for this project, used to create, find, and manage all project assets.

    assetsDirectory: Path

    Path to the project's assets directory on disk.

    cacheDirectory: Path

    Path to the project's cache directory on disk.

    history: any

    The undo/redo history stack for this project.

    metaInfo: MetaInfo

    Metadata associated with the project, such as name and version info.

    projectDirectory: Path

    Root directory path of the project on disk.

    projectFile: Path

    Path to the project's main file on disk.

    scene: Scene

    The active scene for this project, containing all scene objects and cameras.

    Methods

    • Returns true if the object is of the specified type.

      Parameters

      • type: string

      Returns boolean

    • Returns a signal that fires after an entity of the given type name has been added to the project.

      Parameters

      • typeName: string

      Returns signal1<Entity, void>

    • Returns a signal that fires just before an entity of the given type name is added to the project.

      Parameters

      • typeName: string

      Returns signal1<Entity, void>

    • Returns a signal that fires after an entity of the given type name has been removed, providing its UUID.

      Parameters

      • typeName: string

      Returns signal1<Uuid, void>

    • Returns a signal that fires after an entity of the given type name has been updated.

      Parameters

      • typeName: string

      Returns signal1<Entity, void>

    • Returns a signal that fires just before an entity of the given type name is updated.

      Parameters

      • typeName: string

      Returns signal1<Entity, void>

    • Saves the project to its current file location.

      Returns void

    • Saves the project to a specified file path.

      Parameters

      • absoluteFilePath: Path

      Returns void