C# Class UnityEngine.UI.RectMask2D

Inheritance: UnityEngine.EventSystems.UIBehaviour, ICanvasRaycastFilter, IClipper
Show file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
AddClippable ( IClippable clippable ) : void

Add a [IClippable]] to be tracked by the mask.

IsRaycastLocationValid ( Vector2 sp, Camera eventCamera ) : bool

See:ICanvasRaycastFilter.

PerformClipping ( ) : void

See: IClipper.PerformClipping.

RemoveClippable ( IClippable clippable ) : void

Remove an IClippable from being tracked by the mask.

Protected Methods

Method Description
OnCanvasHierarchyChanged ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OnTransformParentChanged ( ) : void
OnValidate ( ) : void
RectMask2D ( ) : System

Method Details

AddClippable() public method

Add a [IClippable]] to be tracked by the mask.

public AddClippable ( IClippable clippable ) : void
clippable IClippable
return void

IsRaycastLocationValid() public method

See:ICanvasRaycastFilter.

public IsRaycastLocationValid ( Vector2 sp, Camera eventCamera ) : bool
sp Vector2
eventCamera UnityEngine.Camera
return bool

OnCanvasHierarchyChanged() protected method

protected OnCanvasHierarchyChanged ( ) : void
return void

OnDisable() protected method

protected OnDisable ( ) : void
return void

OnEnable() protected method

protected OnEnable ( ) : void
return void

OnTransformParentChanged() protected method

protected OnTransformParentChanged ( ) : void
return void

OnValidate() protected method

protected OnValidate ( ) : void
return void

PerformClipping() public method

See: IClipper.PerformClipping.

public PerformClipping ( ) : void
return void

RectMask2D() protected method

protected RectMask2D ( ) : System
return System

RemoveClippable() public method

Remove an IClippable from being tracked by the mask.

public RemoveClippable ( IClippable clippable ) : void
clippable IClippable
return void