Presentation is loading. Please wait.

Presentation is loading. Please wait.

Implicit Animations Varun Shandilya Senior Program Manager Windows UI

Similar presentations


Presentation on theme: "Implicit Animations Varun Shandilya Senior Program Manager Windows UI"— Presentation transcript:

1 Implicit Animations Varun Shandilya Senior Program Manager Windows UI
Microsoft Build 2016 1/14/2019 2:32 PM Implicit Animations Varun Shandilya Senior Program Manager Windows UI © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 Transformer Microsoft Build 2016 1/14/2019 2:32 PM
© 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 Why? Easy and Convenient Animation templates Smooth operations
Microsoft Build 2016 1/14/2019 2:32 PM Why? Easy and Convenient Animation templates Smooth operations Less intrusive app updates Separate app logic from personality © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 How it works Create animation or animation group Define Triggers
Microsoft Build 2016 1/14/2019 2:32 PM How it works Create animation or animation group Define Triggers Connect animations to triggers System animates changes for each trigger © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 Hello World!! Visual

6 Hello World!! ImplicitAnimationCollection implicitAnimation = compositor.CreateImplicitAnimationCollection(); Vector3KeyFrameAnimation animation = compositor.CreateVector3KeyFrameAnimation(); animation.InsertExpressionKeyFrame(1f, "this.FinalValue"); animation.Duration = TimeSpan.FromSeconds(2); animation.Target = “Offset“; implicitAnimation["Offset"] = animation; visual.ImplicitAnimations = implicitAnimation; visual.Offset = new System.Numerics.Vector3(20f,0f,0f);

7 Transformer Microsoft Build 2016 1/14/2019 2:32 PM
© 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

8 Visual property update
Trigger? No Yes Update visual to final value Animate visual to Final Value

9 Photo Gallery

10 Call to Action Follow us on Twitter @WinComposition
Follow us on GitHub for latest samples.


Download ppt "Implicit Animations Varun Shandilya Senior Program Manager Windows UI"

Similar presentations


Ads by Google