-
- EisenbergEffect
- Posts: 19
- Joined:
Effects
Xaml has an effects mechanism which allows shaders to be plugged into any element. Out of the box only a couple of effects are supported, the most important of which is DropShadowEffect. In the documentation, I see that the Effect collection is supported and that you have an implementation of DropShadowEffect. However, I cannot get it to work.
I've confirmed the markup's validity with Kaxaml, but it renders without the shadow in Unity.
Code: Select all
<Border xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
VerticalAlignment="Stretch"
HorizontalAlignment="Stretch">
<Border DockPanel.Dock="Left"
Width="50"
BorderBrush="#3B1A12"
Background="#4e2217"
Panel.ZIndex="2">
<Border.Effect>
<DropShadowEffect BlurRadius="20" Color="Black" Opacity=".5" />
</Border.Effect>
</Border>
</Border>
-
-
sfernandez
Site Admin
- Posts: 2908
- Joined:
Re: Effects
The implementation of DropShadowEffect is empty right now
Effects is a feature that will be included in a future release, not for 1.0. I think we should remove everything related with effects to avoid confusion

Effects is a feature that will be included in a future release, not for 1.0. I think we should remove everything related with effects to avoid confusion

Re: Effects
How about NoesisUI team add drop-shadow effects in exchange for Rob giving us Unity plebs Caliburn.Micro.Unity3D 

Re: Effects
Yes, Rob. How about it? You already improved our lives in WPF with Caliburn and SPA's with Durandal. Time to improve on https://github.com/EisenbergEffect/UnityDatabinding and become another essential on that platform 

-
- EisenbergEffect
- Posts: 19
- Joined:
Re: Effects
I've thought about it. Right now is not good timing for me. I think, maybe after the next release of Noesis, I'm going to look at what I can do there.
Re: Effects
Hi rob,
Having a framework like that in NoesisGUI would be amazing.
Let us know how we can help you with this.
Having a framework like that in NoesisGUI would be amazing.
Let us know how we can help you with this.
-
- Loden DarkStar
- Posts: 1
- Joined:
Re: Effects
Older thread but should I assume DropShadowEffect still isn't implemented?
Re: Effects
Effect yet not implemented sorry. It is planned to be included at some point in v1.2.x.
But if you need it for text it can be easily emulated but displaying the text twice. For example, we use that trick in the NGUI Examples Series
But if you need it for text it can be easily emulated but displaying the text twice. For example, we use that trick in the NGUI Examples Series
-
- XaeroDegreaz
- Posts: 29
- Joined:
Re: Effects
Has there been any movement for DropShadowEffect?Effect yet not implemented sorry. It is planned to be included at some point in v1.2.x.
But if you need it for text it can be easily emulated but displaying the text twice. For example, we use that trick in the NGUI Examples Series
Code: Select all
<Grid.Effect>
<DropShadowEffect Color="Black" Direction="320" ShadowDepth="25" Opacity=".5"/>
</Grid.Effect>

Code: Select all
<Grid
x:Name="PressNewKeyAlert"
Visibility="Hidden"
Grid.ZIndex="1"
Width="200"
Height="100"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<Grid
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Background="Black"
Opacity=".5" />
<Grid
Grid.ZIndex="1"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Margin="0,0,5,5"
Background="{Binding ElementName=TabControl, Path=Background}">
<Label Content="Press new key..." HorizontalAlignment="Center" VerticalAlignment="Center" />
</Grid>
</Grid>
-
- ai_enabled
- Posts: 230
- Joined:
- Contact:
Re: Effects
XaeroDegreaz, no, otherwise it will be noted in the release notes and docs https://www.noesisengine.com/docs/Gui.C ... fects.html
AtomicTorch Studio Pte. Ltd. http://atomictorch.com
Who is online
Users browsing this forum: Bing [Bot], vogelLightword and 8 guests