RaycastMask
An example of an enhanced mask component able to work with the image data. Enables picking on image parts and not just the Rect Transform
Contents
1 Overview
3 Methods
4 Usage
6 See also
Overview
An example of an enhanced mask component able to work with the image data. Enables picking on image parts and not just the Rect Transform
Properties
| Property | Description |
|---|---|
| Alpha Threshold | Minimum alpha value required for a point to register as a hit. |
| Graphic | Graphic source used for sampling pixels. |
| Raycast Target | Toggle whether this graphic blocks raycasts. |
Methods
This component does not expose public methods beyond inherited behaviour.
Usage
Add the effect to your object through the component menu using:
“Add Component -> UI -> Extensions -> Raycast Mask”
Video Demo
“Link to demo video or animated Gifs”
See also
N/A
Credits and Donation
senritsu