- Wangshiyou
- Posts: 9
- Joined:
Is there a good way to make a visibility anim?
<Storyboard x:Key="SelectState">
<DoubleAnimation Storyboard.TargetName="RingImg" Storyboard.TargetProperty="(Image.Opacity)"
From="0" To="1" Duration="0:0:1"/>
</Storyboard>
<Image x:Name="RingImg" Source="{Binding SelectRing}" Height="85" Width="85" Canvas.Left="15" Canvas.Top="15" Opacity="0"/>
There is not a visibility anim so i tried opacity anim but it just can not work and it breaks here
XamlView->SetIsPPAAEnabled(EnablePPAA);
<DoubleAnimation Storyboard.TargetName="RingImg" Storyboard.TargetProperty="(Image.Opacity)"
From="0" To="1" Duration="0:0:1"/>
</Storyboard>
<Image x:Name="RingImg" Source="{Binding SelectRing}" Height="85" Width="85" Canvas.Left="15" Canvas.Top="15" Opacity="0"/>
There is not a visibility anim so i tried opacity anim but it just can not work and it breaks here
XamlView->SetIsPPAAEnabled(EnablePPAA);
- Wangshiyou
- Posts: 9
- Joined:
Re: Is there a good way to make a visibility anim?
i am sorry that in my visualstate i forget to make a visualstategroup
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Is there a good way to make a visibility anim?
Many of our demos use Opacity property to do fade transitions, using both Storyboard or VisualState animations.
What integration are you using: UE4, Unity, your own engine?
If it is the last case make sure you follow integration tutorial and that RenderOffscreen() is called before activating the main screen surface/context, otherwise opacity groups won't be rendered correctly.
What integration are you using: UE4, Unity, your own engine?
If it is the last case make sure you follow integration tutorial and that RenderOffscreen() is called before activating the main screen surface/context, otherwise opacity groups won't be rendered correctly.
Re: Is there a good way to make a visibility anim?
Using XamlPlayer is a good way to check if the problem is in the client integration code or in noesis.
Who is online
Users browsing this forum: No registered users and 1 guest