RSX Code Reference
    Preparing search index...
    • rsx
    • EditorAnimationManager

    Class EditorAnimationManager

    The EditorAnimationManager provides the main heartbeat call to EditorAnimation#update for all currently registered EditorAnimation.

    Index
    _animations: EditorAnimation[]

    A list of animations tracked by the manager. All animations in this list are either running or have just finished on the current frame.

    _isAnimating: boolean
    _pendingRegisteredAnimations: EditorAnimation[]
    _pendingUnregisteredAnimations: EditorAnimation[]
    • Update method. Must be called once every frame to ensure that animations are properly updated.

      Returns void

    • Internal method called to register an animation and start animating.

      Parameters

      • animation: EditorAnimation

        The animation to be registered with the manager.

      Returns void

    • Internal method called to unregister an animation and stop animating.

      Parameters

      • animation: EditorAnimation

        The animation to be unregistered with the manager.

      Returns void

    • Unregisters all animations for the specified object.

      Parameters

      • object: any

      Returns number

      The number of animations that were unregistered.