-
Notifications
You must be signed in to change notification settings - Fork 50
UPF Effects
Cole Campbell edited this page Mar 3, 2018
·
3 revisions
Ultraviolet Framework 1.3 added support for assigning visual effects to elements that modify their appearance.
There are, at present, three build-in effect types, all of which are found in the Ultraviolet.Presentation.Media.Effects
namespace.
-
BlurEffect
Applies a Gaussian blur to the element.
-
DropShadowEffect
Applies a drop shadow to the element.
-
ShaderEffect
Applies the specified shader to the element.
An element's effect is specified by the value of the Effect
dependency property defined on FrameworkElement
.
<Button Content="Hello, world!" Width="100" Height="100" HorizontalAlignment="Center" VerticalAlignment="Center">
<Button.Effect>
<DropShadowEffect/>
</Button.Effect>
</Button>
- Contributing
- Dependencies
- Basic Concepts
- First Look- Platform
- First Look- Graphics
- First Look- Audio
- First Look- Input
- First Look- Content
- First Look- UI
- sRGB Color
- Customizing SpriteBatch
- Creating Fonts
- Creating Effects
- Creating Glyph Shaders
- FreeType2 Fonts
- Rendering 3D Models