AnimationSystem

AnimationSystem ⇐ MRSystem

Handles specific needs for setting up the masking for all necessary items.

Kind: global class
Extends: MRSystem

animationSystem.AnimationSystem

Kind: instance class of AnimationSystem

new exports.AnimationSystem()

AnimationSystem’s default constructor.

animationSystem.update(deltaTime, frame)

Updates each animation mixer in the registry. This function should be called within the main animation loop of the application. It iterates through all the animation mixers stored in the registry and updates them with the given deltaTime. The deltaTime parameter is typically the time elapsed since the last frame which is used to ensure smooth animation playback.

Kind: instance method of AnimationSystem

Param Type Description
deltaTime number The time elapsed since the last update call, used to update the animation mixers.
frame object Additional frame information, not used in the current implementation but can be utilized for future enhancements.