Function populateAnimationTracksFromData

  • Populates an Animation instance with tracks from provided data.

    This function iterates over the provided animation data, creating and adding tracks to the animation's clips.

    Parameters

    • zcomp: ZComponent<any>

      The ZComponent instance.

    • anim: Animation

      The Animation instance to populate.

    • data: Animation

      The data object containing information about the animation.

    Returns void