跳到主要内容

UpdateContext

命名空间:FairyGUI
源码:Assets/Scripts/Core/UpdateContext.cs (行 11)

public class UpdateContext

UpdateContext is for internal use.

构造函数​

UpdateContext()​

public UpdateContext();

源码:Core/UpdateContext.cs (行 47)

事件​

OnBegin​

public static event Action OnBegin;

源码:Core/UpdateContext.cs (行 42)

OnEnd​

public static event Action OnEnd;

源码:Core/UpdateContext.cs (行 43)

字段​

alpha​

public float alpha;

源码:Core/UpdateContext.cs (行 36)

batchingDepth​

public int batchingDepth;

源码:Core/UpdateContext.cs (行 31)

clipInfo​

public ClipInfo clipInfo;

源码:Core/UpdateContext.cs (行 28)

clipped​

public bool clipped;

源码:Core/UpdateContext.cs (行 27)

current​

public static UpdateContext current;

源码:Core/UpdateContext.cs (行 39)

grayed​

public bool grayed;

源码:Core/UpdateContext.cs (行 37)

rectMaskDepth​

public int rectMaskDepth;

源码:Core/UpdateContext.cs (行 32)

renderingOrder​

public int renderingOrder;

源码:Core/UpdateContext.cs (行 30)

stencilCompareValue​

public int stencilCompareValue;

源码:Core/UpdateContext.cs (行 34)

stencilReferenceValue​

public int stencilReferenceValue;

源码:Core/UpdateContext.cs (行 33)

working​

public static bool working;

源码:Core/UpdateContext.cs (行 40)

方法​

ApplyAlphaMaskProperties(Material, bool)​

public void ApplyAlphaMaskProperties(Material mat, bool erasing);
参数类型说明
matMaterial
erasingbool

源码:Core/UpdateContext.cs (行 263)

ApplyClippingProperties(Material, bool)​

public void ApplyClippingProperties(Material mat, bool isStdMaterial);
参数类型说明
matMaterial
isStdMaterialbool

源码:Core/UpdateContext.cs (行 218)

Begin()​

public void Begin();

源码:Core/UpdateContext.cs (行 55)

End()​

public void End();

源码:Core/UpdateContext.cs (行 89)

EnterClipping(uint, Rect, Vector4?)​

public void EnterClipping(uint clipId, Rect clipRect, Vector4? softness);
参数类型说明
clipIduint
clipRectRect
softnessVector4?

源码:Core/UpdateContext.cs (行 105)

EnterClipping(uint, bool)​

public void EnterClipping(uint clipId, bool reversedMask);
参数类型说明
clipIduint
reversedMaskbool

源码:Core/UpdateContext.cs (行 163)

EnterPaintingMode()​

public void EnterPaintingMode();

源码:Core/UpdateContext.cs (行 199)

LeaveClipping()​

public void LeaveClipping();

源码:Core/UpdateContext.cs (行 191)

LeavePaintingMode()​

public void LeavePaintingMode();

源码:Core/UpdateContext.cs (行 210)