Code Monkey home page Code Monkey logo

Comments (18)

pgills avatar pgills commented on May 17, 2024 2

Just to help clarify some points for folks.

@brian-ding ConnectedAnimationService unfortunately didn't make it for the 14295 build, but it is tracking for a future flight. API documentation for Insider flights is a known issue for us and we're working together to determine the best place for this type of information see Issue #25 where we're tracking it. We've had a lot of good suggestions from folks participating with us on this project.

@assassin316 As @robmikh points out, we use the same Effect descriptions as Win2D. In order to include them into your project, you must install the Win2D Nuget Package and then you will be able to create Effects to be used with Windows.UI.Composition. If you read through the Effect reference you will be able to know what descriptions that can only be used with Win2D and what descriptions can be used with both Win2D and Composition.

from windowscompositionsamples.

shandilvarun avatar shandilvarun commented on May 17, 2024 1

@assassin316 Max, this talk deep dives into Effect https://channel9.msdn.com/Events/Build/2016/P490
@brian-ding this talk deep dives into connected Animations https://channel9.msdn.com/Events/Build/2016/P485

from windowscompositionsamples.

robmikh avatar robmikh commented on May 17, 2024 1

Thanks @shandilvarun!

@assassin316 You can look at a StackOverflow answer I wrote on how to use blur here.

from windowscompositionsamples.

shandilvarun avatar shandilvarun commented on May 17, 2024

It was not shipped as connectAnimations. It is shipped as StartAnimations()

from windowscompositionsamples.

brian-ding avatar brian-ding commented on May 17, 2024

@shandilvarun Please check out the video provide by the link, @33min, he coded "Windows.UI.Media.Animation.ConnectedAnimationService"

image

from windowscompositionsamples.

assassin316 avatar assassin316 commented on May 17, 2024

I have the same problem with GaussianBlurEffect, I can't create it even with the latest SDK installed.

from windowscompositionsamples.

shandilvarun avatar shandilvarun commented on May 17, 2024

What ask number do you have?

from windowscompositionsamples.

shandilvarun avatar shandilvarun commented on May 17, 2024

Sdk* thanks auto correct 😀

from windowscompositionsamples.

brian-ding avatar brian-ding commented on May 17, 2024

@shandilvarun StartAnimation() is for general animation starting, for all kinds of animations, like KeyFrameAnimation or Vector3KeyFrameAnimation, but you need to create a ConnectedAnimation to be started, right? so how to create a ConnectedAnimation instance?

and I did checked the samples in this repo, here they have a Continuity example, but I cant find any "ConnectedAnimationService"

from windowscompositionsamples.

assassin316 avatar assassin316 commented on May 17, 2024

I currently installed the SDK 10.0.14295.1000. Also have Update 2 on Windows 10 build 14295.

from windowscompositionsamples.

assassin316 avatar assassin316 commented on May 17, 2024

What namespace is GaussianBlurEffect in? I'll try looking for it...

from windowscompositionsamples.

brian-ding avatar brian-ding commented on May 17, 2024

@assassin316 oh yeah, Microsoft did not update dev.windows.com to reflect the new API

What a TYPICAL way of Microsoft!!

from windowscompositionsamples.

robmikh avatar robmikh commented on May 17, 2024

@assassin316 You can find the GaussianBlurEffect in the Microsoft.Graphics.Canvas.Effects namespace. Notice that you'll need Win2D included, as we take a dependency on them for the effect definitions.

@brian-ding I'll get back to you in a second. Battery is dying...

from windowscompositionsamples.

shandilvarun avatar shandilvarun commented on May 17, 2024

Thanks @robmikh
@brian-ding Apologies for the confusion above. ConnectedAnimationService is not yet available in current flights, but will be in future flights. In the mean time you can use the approach in Continuity sample. I will post an update on this thread once the API is available in a flight.
I also understand your concern on documentation and we are in process of updating dev.windows.com (https://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.composition.aspx) to reflect new APIs and update existing documentation.

from windowscompositionsamples.

assassin316 avatar assassin316 commented on May 17, 2024

@pgills and @robmikh Thanks guys for the clarification!! :)

from windowscompositionsamples.

brian-ding avatar brian-ding commented on May 17, 2024

@shandilvarun @robmikh @pgills Thank you guys for the help here. So i will try the work around Continuity Sample provided & wait for the ConnectedAimationService API then. Hope it wont take too long

from windowscompositionsamples.

tomzorz avatar tomzorz commented on May 17, 2024

@brian-ding Maybe you could check if it's in the new 14316 build from yesterday :) (Although I guess you might need a new SDK for that to work?)

from windowscompositionsamples.

pgills avatar pgills commented on May 17, 2024

Closing this issue. We will let folks know when the ConnectAnimationService API makes it with an Insider flight.

from windowscompositionsamples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.