Class OnlyOneEdgeModifier
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[ModifierID("Only One Edge")]
public class OnlyOneEdgeModifier : ProceduralImageModifier
- Inheritance
-
OnlyOneEdgeModifier
- Inherited Members
-
- Extension Methods
-
Constructors
OnlyOneEdgeModifier()
public OnlyOneEdgeModifier()
Fields
radius
[SerializeField]
public float radius
Field Value
- float
side
[SerializeField]
public OnlyOneEdgeModifier.ProceduralImageEdge side
Field Value
- OnlyOneEdgeModifier.ProceduralImageEdge
Properties
Radius
public float Radius { get; set; }
Property Value
- float
Side
public OnlyOneEdgeModifier.ProceduralImageEdge Side { get; set; }
Property Value
- OnlyOneEdgeModifier.ProceduralImageEdge
Methods
CalculateRadius(Rect)
public override Vector4 CalculateRadius(Rect imageRect)
Parameters
imageRect
Rect
Returns
- Vector4