@stereograph/teiaviewer - v17.8.0-dev
    Preparing search index...

    Class ObjectStateHistory

    Handle the history of object states

    Index

    Constructors

    Accessors

    • get size(): number

      Returns number

    Methods

    • Returns void

    • Push a new state in the state controllers

      Type Parameters

      Parameters

      • objects: Iterable<SceneObject>
      • state: Partial<T & RestoreState>

      Returns null | number

    • Remove the state from the state controllers

      Parameters

      • id: number

      Returns void

    • Update a state and recompute the final state of the objects

      Type Parameters

      Parameters

      • id: number
      • state: Partial<T & RestoreState>

      Returns void