Class OverdrawForegroundBehavior
- Namespace
- Lime
- Assembly
- Lime.dll
If Overdraw mode is enabled, adds owner to overdraw foreground RenderChain and disables rendering of a subtree (including owner) of child objects in the main render list.
public class OverdrawForegroundBehavior : NodeBehavior, IDisposable, IAnimable, ITriggerable
- Inheritance
-
OverdrawForegroundBehavior
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
If turning on overdraw mode does not turn off rendering of a subtree in the main render list, you are probably faced with a special case where RenderObjects are created bypassing presenters. As one possible solution, you can manually initialize RenderObject.OwnerInfo: #if PROFILER renderObject.OwnerInfo.Initialize(Node); #endif // PROFILER