Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SceneRecorder

Class used to record delta files between 2 scene states

Hierarchy

  • SceneRecorder

Index

Methods

getDeltaSearch playground for getDelta

  • getDelta(): any
  • Get the delta between current state and original state

    Returns any

    a any containing the delta

trackSearch playground for track

  • track(scene: Scene): void
  • Track a given scene. This means the current scene state will be considered the original state

    Parameters

    • scene: Scene

      defines the scene to track

    Returns void

Static ApplyDeltaSearch playground for ApplyDelta

  • ApplyDelta(deltaJSON: any | string, scene: Scene): void
  • Apply a given delta to a given scene

    Parameters

    • deltaJSON: any | string

      defines the JSON containing the delta

    • scene: Scene

      defines the scene to apply the delta to

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method