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);
| 参数 | 类型 | 说明 |
|---|---|---|
mat | Material | |
erasing | bool |
源码:Core/UpdateContext.cs (行 263)
ApplyClippingProperties(Material, bool)
public void ApplyClippingProperties(Material mat, bool isStdMaterial);
| 参数 | 类型 | 说明 |
|---|---|---|
mat | Material | |
isStdMaterial | bool |
源码: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);
| 参数 | 类型 | 说明 |
|---|---|---|
clipId | uint | |
clipRect | Rect | |
softness | Vector4? |
源码:Core/UpdateContext.cs (行 105)
EnterClipping(uint, bool)
public void EnterClipping(uint clipId, bool reversedMask);
| 参数 | 类型 | 说明 |
|---|---|---|
clipId | uint | |
reversedMask | bool |
源码: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)