GLoader
Namespace:FairyGUI
Source:Assets/Scripts/UI/GLoader.cs (line 10)
public class GLoader : GObject, IAnimationGear, IColorGear
GLoader class
Inheritance:EventDispatcher → GObject → GLoader
Interfaces:IAnimationGear, IColorGear
Inherited members
data, dragBounds, initHeight, initWidth, maxHeight, maxWidth, minHeight, minWidth, name, packageItem, sourceHeight, sourceWidth, underConstruct, AddRelation, Center, ConstructFromResource, GetGear, GlobalToLocal, HandleAlphaChanged, HandleControllerChanged, HandleGrayedChanged, HandlePositionChanged, HandleScaleChanged, HandleVisibleChanged, InvalidateBatchingState, LocalToGlobal, LocalToRoot, MakeFullScreen, RemoveFromParent, RemoveRelation, RequestFocus, RootToLocal, SetHome, SetPivot, SetPosition, SetScale, SetSize, SetSizeDirectly, SetXY, Setup_AfterAdd, StartDrag, StopDrag, TransformPoint, TransformRect, TweenFade, TweenMove, TweenMoveX, TweenMoveY, TweenResize, TweenRotate, TweenScale, TweenScaleX, TweenScaleY, UpdateGear, WorldToLocal, actualHeight, actualWidth, alpha, asButton, asComboBox, asCom, asGraph, asGroup, asImage, asLabel, asList, asLoader3D, asLoader, asMovieClip, asProgress, asRichTextField, asSlider, asTextField, asTextInput, asTree, cursor, displayObject, dragStartPos, draggable, draggingObject, dragging, enabled, focusable, focused, gameObjectName, gearLook, gearSize, gearXY, grayed, group, height, id, inContainer, isDisposed, onAddedToStage, onClickLink, onClick, onDragEnd, onDragMove, onDragStart, onFocusIn, onFocusOut, onGearStop, onKeyDown, onPositionChanged, onRemovedFromStage, onRightClick, onRollOut, onRollOver, onSizeChanged, onStage, onTouchBegin, onTouchEnd, onTouchMove, parent, pivotAsAnchor, pivotX, pivotY, pivot, pixelSnapping, position, relations, resourceURL, root, rotationX, rotationY, rotation, scaleX, scaleY, scale, size, skew, sortingOrder, tabStop, text, tooltips, touchable, treeNode, visible, width, xMin, xy, x, yMin, y, z
AddCapture, AddEventListener, BroadcastEvent, BubbleEvent, DispatchEvent, RemoveCapture, RemoveEventListener, RemoveEventListeners, hasEventListeners, isDispatching
Constructors
GLoader()
public GLoader();
Source:UI/GLoader.cs (line 38)
Fields
__freeExternal
public Action<NTexture> __freeExternal;
Compilation conditions:
FAIRYGUI_PUERTS
Source:UI/GLoader.cs (line 35)
__loadExternal
public Action __loadExternal;
Compilation conditions:
FAIRYGUI_PUERTS
Source:UI/GLoader.cs (line 34)
showErrorSign
public bool showErrorSign;
Display an error sign if the loader fails to load the content. UIConfig.loaderErrorSign muse be set.
Source:UI/GLoader.cs (line 16)
Methods
Advance(float)
public void Advance(float time);
| Parameter | Type | Description |
|---|---|---|
time | float |
Source:UI/GLoader.cs (line 252)
ClearErrorState()
protected void ClearErrorState();
Source:UI/GLoader.cs (line 540)
CreateDisplayObject()
override protected void CreateDisplayObject();
Source:UI/GLoader.cs (line 47)
Dispose()
override public void Dispose();
Source:UI/GLoader.cs (line 56)
FreeExternal(NTexture)
virtual protected void FreeExternal(NTexture texture);
| Parameter | Type | Description |
|---|---|---|
texture | NTexture |
Source:UI/GLoader.cs (line 486)
HandleSizeChanged()
override protected void HandleSizeChanged();
Source:UI/GLoader.cs (line 692)
LoadContent()
protected void LoadContent();
Source:UI/GLoader.cs (line 395)
LoadExternal()
virtual protected void LoadExternal();
Source:UI/GLoader.cs (line 470)
LoadFromPackage(string)
protected void LoadFromPackage(string itemURL);
| Parameter | Type | Description |
|---|---|---|
itemURL | string |
Source:UI/GLoader.cs (line 408)
Setup_BeforeAdd(ByteBuffer, int)
override public void Setup_BeforeAdd(ByteBuffer buffer, int beginPos);
| Parameter | Type | Description |
|---|---|---|
buffer | ByteBuffer | |
beginPos | int |
Source:UI/GLoader.cs (line 700)
UpdateLayout()
protected void UpdateLayout();
Source:UI/GLoader.cs (line 546)
onExternalLoadFailed()
public void onExternalLoadFailed();
Source:UI/GLoader.cs (line 508)
onExternalLoadSuccess(NTexture)
public void onExternalLoadSuccess(NTexture texture);
| Parameter | Type | Description |
|---|---|---|
texture | NTexture |
Source:UI/GLoader.cs (line 497)
Properties
align
public AlignType align { get; set; }
Source:UI/GLoader.cs (line 111)
autoSize
public bool autoSize { get; set; }
Source:UI/GLoader.cs (line 191)
blendMode
override public BlendMode blendMode { get; set; }
Source:UI/GLoader.cs (line 386)
color
public Color color { get; set; }
Source:UI/GLoader.cs (line 278)
component
public GComponent component { get; }
Source:UI/GLoader.cs (line 346)
fill
public FillType fill { get; set; }
Source:UI/GLoader.cs (line 143)
fillAmount
public float fillAmount { get; set; }
Source:UI/GLoader.cs (line 321)
fillClockwise
public bool fillClockwise { get; set; }
Source:UI/GLoader.cs (line 312)
fillMethod
public FillMethod fillMethod { get; set; }
Source:UI/GLoader.cs (line 294)
fillOrigin
public int fillOrigin { get; set; }
Source:UI/GLoader.cs (line 303)
filter
override public IFilter filter { get; set; }
Source:UI/GLoader.cs (line 380)
frame
public int frame { get; set; }
Source:UI/GLoader.cs (line 220)
icon
override public string icon { get; set; }
Source:UI/GLoader.cs (line 102)
ignoreEngineTimeScale
public bool ignoreEngineTimeScale { get; set; }
Source:UI/GLoader.cs (line 242)
image
public Image image { get; }
Source:UI/GLoader.cs (line 330)
material
public Material material { get; set; }
Source:UI/GLoader.cs (line 260)
movieClip
public MovieClip movieClip { get; }
Source:UI/GLoader.cs (line 338)
playing
public bool playing { get; set; }
Source:UI/GLoader.cs (line 207)
shader
public string shader { get; set; }
Source:UI/GLoader.cs (line 269)
shrinkOnly
public bool shrinkOnly { get; set; }
Source:UI/GLoader.cs (line 175)
texture
public NTexture texture { get; set; }
Source:UI/GLoader.cs (line 354)
timeScale
public float timeScale { get; set; }
Source:UI/GLoader.cs (line 233)
url
public string url { get; set; }
Source:UI/GLoader.cs (line 87)
useResize
public bool useResize { get; set; }
Source:UI/GLoader.cs (line 159)
verticalAlign
public VertAlignType verticalAlign { get; set; }
Source:UI/GLoader.cs (line 127)