This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Download Microsoft Edge
More info about Internet Explorer and Microsoft Edge
Overrides the RectMask2D.PerformClipping method to add extra checks before doing exhaustive culling on
each maskable target.
public class RectMask2DFast : UnityEngine.UI.RectMask2D
type RectMask2DFast = class
inherit RectMask2D
Public Class RectMask2DFast
Inherits RectMask2D
Inheritance
UnityEngine.UI.RectMask2D
RectMask2DFast
Improves the base class method by:
Checks if the canvas renderer has moved before exhaustive culling.
Interleaves UpdateClipSoftness so objects are not iterated over twice.
Adds a OnSetClipRect callback for derived classes to use.