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.IMaterialModifier
UnityEngine.UI.IMeshModifier