添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
星星上的麻辣香锅  ·  c# - Proper way to ...·  1 年前    · 
温柔的筷子  ·  华为开发者论坛·  1 年前    · 

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.
  •