|Re: [GEF5] Right way to set global visual effect [message #1820576 is a reply to message #1820560]
||Thu, 23 January 2020 09:04
|| Matthias Wienand
Registered: March 2015
if you apply the effect like that, it will also affect feedback and handle parts. You can restrict it to only affect content parts by accessing the content layer group, assuming you are using the default LayeredRootPart, as follows:
When applying effects, it is important to know that each node can only have a single effect applied to it, i.e. you cannot easily stack effects on a single node. However, you can use the input-property of some effects to wire them with others in order to achieve more complex effects.
That's why, in some situations, you will have to adjust the scene graph in order to allow multiple effects on your nodes. When necessary, you can introduce more Groups to your visuals to allow multiple stacked effects.
The grid dots are rendered using JavaFX CSS. Therefore, I would not expect them to be affected by an effect that is applied, for example, to the InfiniteCanvas or its grid canvas.
Powered by FUDForum
. Page generated in 0.02106 seconds