Lottie-Windows icon indicating copy to clipboard operation
Lottie-Windows copied to clipboard

[LottieGen] Added new AnimationController API support for LottieGen

Open aborziak-ms opened this issue 3 years ago • 4 comments

Instead of binding Progress to each individual AnimationController in this change we are creating one AnimationController for entire animation and then using it for all animations.

Note: Lottie representation of AnimationController needs to have boolen flag "IsCustom" which displays how the AnimationController was created - as a custom one (using Compositor::CreateAnimationController), or was obtained from an object with TryGetAnimationController. Only custom controller can be used in StartAnimation(property, animation, controller) calls to make it easier to track the lifetime of AnimationController objects and to make it easier to generate the code.

aborziak-ms avatar Feb 16 '22 23:02 aborziak-ms

btw, saw the commit description "API UAP 14", for SV2 the UAP version should be 15.

raymond-wh-leung avatar May 26 '22 22:05 raymond-wh-leung

@raymond-wh-leung oh right, I will edit it. Trying to fix the build now

aborziak-ms avatar May 26 '22 22:05 aborziak-ms

I see gotcha!


In reply to: 1139124839

raymond-wh-leung avatar May 26 '22 22:05 raymond-wh-leung

    <TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>

Is it by design that it is reverted from version 10.0.22558.0 from iteration #3


Refers to: Directory.Build.props:63 in d8a80eb. [](commit_id = d8a80eb4950bdcdeab6eb29606be078b93d840ed, deletion_comment = False)

raymond-wh-leung avatar May 26 '22 23:05 raymond-wh-leung