Comments (3)
Hi Tamás ,
Yes, it automatically updates when the Xaml content has changed.
Also, depending on the complexity of your animations and content updates, it might be helpful to also remember that there are performance differences between Xaml’s dependent animations (which are executed in the application) from Xaml and Composition independent animations (which are executed in the system’s Composition Service, DWM.exe).
Thanks!
~ Jeffrey
From: Tamás Deme [mailto:[email protected]]
Sent: Friday, March 25, 2016 6:20 PM
To: Microsoft/composition [email protected]
Subject: [composition] New Composition API question regarding GetAlphaMask (#37)
Hi
So as the new insider builds are coming out I've seen a new method on the Windows.UI.Xaml.Shapes.Shape base class: CompositionBrush GetAlphaMask().
This is awesome, as one of my major pain points was that I couldn't use a Xaml element as a mask for a different one - now my question is: does the alpha mask compositionbrush stay up to date if I animate the shape?
This would make creating material design-like "shape fills up the screen" animations a breeze to do :)
Thanks,
Tamás
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com//issues/37
from windowscompositionsamples.
Awesome, thanks! :) I'll wait with further questions until I see the presentation today (or tomorrow if there's no live stream).
from windowscompositionsamples.
Watched all the sessions and everything is clear on this for now - thanks! :)
from windowscompositionsamples.
Related Issues (20)
- I can't get my Projection Matrix to have a proper perspective for a Rotation animation HOT 5
- [Question] Is it possible to make Composition Animation running along with a path?
- GraphicsCaptureItem.CreateFromVisual has blur
- A little doubt about about code in ThumbnailLighting.xaml.cs HOT 3
- Build error in VS2019 and VS2019 preview HOT 3
- Does Windows.UI.Composition support Direct3D 12?
- how to apply effects to any shape of area of an xaml element or visual element? HOT 2
- AnimationController.Progress always return zero HOT 2
- Add sample for Snap points / Inertia modifiers
- Use Windows Community Toolkit library instead of custom code HOT 1
- Navigation Flow example crashing HOT 1
- Grammatical error HOT 1
- WindowsComposition Animation End Event missing. HOT 1
- Is Windows Composition API dead? HOT 4
- Channel 9 links on Resources page re-direct to the same Microsoft Docs page HOT 1
- Taking a screenshot of windows with AllowsTransparency="True" HOT 1
- Can we have C++ samples?
- Official DirectComposition Interop
- Looks like a bug in ImageLoader.cs
- Docs on IAnimationObject and CompositionAnimation.SetExpressionReferenceParameter HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from windowscompositionsamples.