Class MaskEffect
Definition
- Assembly:
- Tizen.NUI.dll
Mask effect of a View.
note
MaskEffect uses the target's camera to render both target and source.
To apply the mask correctly, align the source's size and position with the target.
Use 'targetMaskOnce' / 'sourceMaskOnce' to skip re-rendering static inputs.
MaskEffect effect = new MaskEffect();
view.SetRenderEffect(effect);
public class MaskEffect : RenderEffect, IDynamicResourceHandler, INameScope, System.IDisposable
- Inheritance
- Implements
-
System.IDisposable
Properties
View SourceSourceMaskOnce
The property determines whether the source should be rendered once or every frame.
Declaration
public bool SourceMaskOnce { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
TargetMaskOnce
The property determines whether the target should be rendered once or every frame.
Declaration
public bool TargetMaskOnce { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Implements
System.IDisposable