Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot access color properties from ExpressionAnimation #9393

Open
Youssef1313 opened this issue Mar 4, 2024 · 3 comments
Open

Cannot access color properties from ExpressionAnimation #9393

Youssef1313 opened this issue Mar 4, 2024 · 3 comments
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team

Comments

@Youssef1313
Copy link
Member

Youssef1313 commented Mar 4, 2024

Describe the bug

var exp = _visual.Compositor.CreateExpressionAnimation("c1.R");
exp.SetColorParameter("c1", new() { R = 40 });
_visual.StartAnimation("TransformMatrix._42", exp);
An invalid subchannel was specified in the expression.

Steps to reproduce the bug

Expected behavior

No response

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

@Youssef1313 Youssef1313 added the bug Something isn't working label Mar 4, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 4, 2024
@bpulliam bpulliam added team-CompInput Issue for IXP (Composition, Input) team and removed needs-triage Issue needs to be triaged by the area owners labels Mar 4, 2024
@ChewWorker
Copy link

It appears that you are defining a color animation and then trying to use that to transform a matrix component. That is not supported.

@Youssef1313
Copy link
Member Author

@ChewWorker It is not really about setting it to transform matrix. But just accessing color channels in general.

@ChewWorker
Copy link

@Youssef1313 I'm sorry I don't understand. If it's not really about the transform matrix, why does the repro have the transform matrix in it? Is there still a problem if you eliminate that line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-CompInput Issue for IXP (Composition, Input) team
Projects
None yet
Development

No branches or pull requests

3 participants