Search found 5 matches

by arukari
10 Dec 2018, 13:00
Forum: General Discussion
Replies: 7
Views: 560

Re: OpacityMask and RadialGradientBrush

To create an animation like the one in the youtube video you can use an image (see attached), and rotate it: <Canvas> <Canvas.Triggers> <EventTrigger RoutedEvent="FrameworkElement.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetProperty="(Canvas.OpacityMask).(Brush.Relativ...
by arukari
08 Dec 2018, 04:16
Forum: General Discussion
Replies: 7
Views: 560

Re: OpacityMask and RadialGradientBrush

I can visibled. RadialGradientBrush is need Center,Radius setting. But I have not obtained the results I expected. I want to make something like this. https://www.youtube.com/watch?v=A63Iv6-AGu8 I will post video and code comparing OpacityMask animation and Fill animation. Left Radar Code: <Grid Hor...
by arukari
06 Dec 2018, 09:01
Forum: General Discussion
Replies: 7
Views: 560

OpacityMask and RadialGradientBrush

hi, i try creating radar gui. but, no visible for use OpacityMask and RadialGradientBrush. <Grid HorizontalAlignment="Left" VerticalAlignment="Bottom" Height="300" Width="300"> <Grid.OpacityMask> <RadialGradientBrush> <GradientStop Color="Black" Offset="0"/> <GradientStop Color="#AA000000" Offset="0...
by arukari
28 Nov 2018, 05:47
Forum: General Discussion
Replies: 3
Views: 420

Re: PropertyChanged occurs every time is GC.Alloc.

Probably because a new PropertyChangedEventArgs is being create each time. This is something we should optimize by using pools for example. I want also to investigate if WPF is doing the same. Could you please file a ticket in the tracker ? hi, I tried to register as a tracker, but I did not receiv...
by arukari
23 Nov 2018, 12:08
Forum: General Discussion
Replies: 3
Views: 420

GC.Alloc occurs each time PropertyChanged is executed.

GC.Alloc occurs every time PropertyChanged is executed?
(in Unity MonoBehavior.Update)

Image