Class FrameFilter
Assembly: ChocDino.UIFX.dll
Declaration
[AddComponentMenu("UI/Chocolate Dinosaur UIFX/Filters/UIFX - Frame Filter")]
public class FrameFilter : FilterBase, IMaterialModifier, IMeshModifier
Inheritance: System.Object -> UnityEngine.Object -> UnityEngine.Component -> UnityEngine.Behaviour -> UnityEngine.MonoBehaviour -> UnityEngine.EventSystems.UIBehaviour -> ChocDino.UIFX.FilterBase
Implements:
UnityEngine.UI.IMaterialModifier, UnityEngine.UI.IMeshModifier
Properties
Shape
Declaration
public FrameShape Shape { get; set; }
Color
Declaration
public Color Color { get; set; }
RadiusPadding
Declaration
public float RadiusPadding { get; set; }
RectPadding
Declaration
public RectEdge RectPadding { get; set; }
RectToEdge
Declaration
public RectPadToEdge RectToEdge { get; set; }
RectRoundCornerMode
Declaration
public FrameRoundCornerMode RectRoundCornerMode { get; set; }
RectRoundCornersValue
Declaration
public float RectRoundCornersValue { get; set; }
RectRoundCorners
Declaration
public RectCorners RectRoundCorners { get; set; }
CutoutSource
Declaration
public bool CutoutSource { get; set; }
BorderSize
Declaration
public float BorderSize { get; set; }
BorderColor
Declaration
public Color BorderColor { get; set; }
Methods
GetDisplayShaderPath()
Declaration
protected override string GetDisplayShaderPath()
Returns
System.String
DoParametersModifySource()
Declaration
protected override bool DoParametersModifySource()
Returns
System.Boolean
OnEnable()
Declaration
protected override void OnEnable()
OnDisable()
Declaration
protected override void OnDisable()
GetFilterAdjustSize(ref Vector2Int, ref Vector2Int)
Declaration
protected override void GetFilterAdjustSize(ref Vector2Int leftDown, ref Vector2Int rightUp)
Parameters
| Type | Name |
|---|---|
UnityEngine.Vector2Int | leftDown |
UnityEngine.Vector2Int | rightUp |
SetupDisplayMaterial(Texture, Texture)
Declaration
protected override void SetupDisplayMaterial(Texture source, Texture result)
Parameters
| Type | Name |
|---|---|
UnityEngine.Texture | source |
UnityEngine.Texture | result |
Implements
UnityEngine.UI.IMaterialModifierUnityEngine.UI.IMeshModifier