using Coffee.UISoftMaskInternal;
using UnityEngine.UI;
namespace Coffee.UISoftMask
{
public interface ISoftMasking : IMeshModifier
{
bool enabled { get; }
MaskingShape.MaskingMethod maskingMethod { get; }
///
/// Show the graphic that is associated with the Mask render area.
///
bool showMaskGraphic { get; }
///
/// The transparent part of the mask cannot be clicked.
/// This can be achieved by enabling Read/Write enabled in the Texture Import Settings for the texture.
///
/// NOTE: Enable this only if necessary, as it will require more graphics memory and processing time.
///
bool alphaHitTest { get; }
///
/// Threshold for anti-alias masking.
/// The smaller this value, the less jagged it is.
///
float antiAliasingThreshold { get; }
///
/// The minimum and maximum alpha values used for soft masking.
/// The larger the gap between these values, the stronger the softness effect.
///
MinMax01 softnessRange { get; }
///
/// Method to determine whether this masking shape should be a raycast target.
///
MaskingShape.RaycastMethod raycastMethod { get; }
}
}