microsoft / WindowsCompositionSamples

The Windows Composition Samples have moved here: https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
https://github.com/microsoft/WindowsAppSDK-Samples/tree/main/Samples/SceneGraph
MIT License
1.13k stars 287 forks source link

Docs on IAnimationObject and CompositionAnimation.SetExpressionReferenceParameter #363

Closed trympet closed 1 year ago

trympet commented 1 year ago

Issue Type

[ ] Bug Report
[ ] Feature Request
[ ] Sample request
[x] Documentation issue or request
[ ] Other – Please describe:

Request

There are no proper docs on IAnimationObject nor CompositionAnimation.SetExpressionReferenceParameter. What scenario are these intended to support?

raymond-wh-leung commented 1 year ago

Thanks for posting the question. IAnimationObject is to allow a custom object (that is backed by composition objects) to participate in ExpressionAnimations, by redirecting its properties to the underlying composition object.

The doc has been updated at:

trympet commented 1 year ago

Very cool, thanks Raymond! 😊