UpdateContext
Namespace:FairyGUI
Source:Assets/Scripts/Core/UpdateContext.cs (line 11)
public class UpdateContext
UpdateContext is for internal use.
Constructors
UpdateContext()
public UpdateContext();
Source:Core/UpdateContext.cs (line 47)
Events
OnBegin
public static event Action OnBegin;
Source:Core/UpdateContext.cs (line 42)
OnEnd
public static event Action OnEnd;
Source:Core/UpdateContext.cs (line 43)
Fields
alpha
public float alpha;
Source:Core/UpdateContext.cs (line 36)
batchingDepth
public int batchingDepth;
Source:Core/UpdateContext.cs (line 31)
clipInfo
public ClipInfo clipInfo;
Source:Core/UpdateContext.cs (line 28)
clipped
public bool clipped;
Source:Core/UpdateContext.cs (line 27)
current
public static UpdateContext current;
Source:Core/UpdateContext.cs (line 39)
grayed
public bool grayed;
Source:Core/UpdateContext.cs (line 37)
rectMaskDepth
public int rectMaskDepth;
Source:Core/UpdateContext.cs (line 32)
renderingOrder
public int renderingOrder;
Source:Core/UpdateContext.cs (line 30)
stencilCompareValue
public int stencilCompareValue;
Source:Core/UpdateContext.cs (line 34)
stencilReferenceValue
public int stencilReferenceValue;
Source:Core/UpdateContext.cs (line 33)
working
public static bool working;
Source:Core/UpdateContext.cs (line 40)
Methods
ApplyAlphaMaskProperties(Material, bool)
public void ApplyAlphaMaskProperties(Material mat, bool erasing);
| Parameter | Type | Description |
|---|---|---|
mat | Material | |
erasing | bool |
Source:Core/UpdateContext.cs (line 263)
ApplyClippingProperties(Material, bool)
public void ApplyClippingProperties(Material mat, bool isStdMaterial);
| Parameter | Type | Description |
|---|---|---|
mat | Material | |
isStdMaterial | bool |
Source:Core/UpdateContext.cs (line 218)
Begin()
public void Begin();
Source:Core/UpdateContext.cs (line 55)
End()
public void End();
Source:Core/UpdateContext.cs (line 89)
EnterClipping(uint, Rect, Vector4?)
public void EnterClipping(uint clipId, Rect clipRect, Vector4? softness);
| Parameter | Type | Description |
|---|---|---|
clipId | uint | |
clipRect | Rect | |
softness | Vector4? |
Source:Core/UpdateContext.cs (line 105)
EnterClipping(uint, bool)
public void EnterClipping(uint clipId, bool reversedMask);
| Parameter | Type | Description |
|---|---|---|
clipId | uint | |
reversedMask | bool |
Source:Core/UpdateContext.cs (line 163)
EnterPaintingMode()
public void EnterPaintingMode();
Source:Core/UpdateContext.cs (line 199)
LeaveClipping()
public void LeaveClipping();
Source:Core/UpdateContext.cs (line 191)
LeavePaintingMode()
public void LeavePaintingMode();
Source:Core/UpdateContext.cs (line 210)