跳到主要内容

MovieClip

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

public class MovieClip : Image

继承:EventDispatcher → DisplayObject → Image → MovieClip

继承成员​

Image

_fillMesh, _scale9Grid, _scaleByTile, _textureScale, _tileGridIndice, OnPopulateMesh, SetNativeSize, SliceFill, UpdateTexture, color, fillAmount, fillClockwise, fillMethod, fillOrigin, scale9Grid, scaleByTile, textureScale, texture, tileGridIndice

DisplayObject

onPaint, _contentRect, _flags, _paintingInfo, _paintingMode, _vertexMatrix, gOwner, id, name, AddToBatch, CreateGameObject, DestroyGameObject, Dispose, EnsureSizeCorrect, EnterPaintingMode, GetBounds, GetScreenShot, GlobalToLocal, HitTest, InvalidateBatchingState, LeavePaintingMode, LocalToGlobal, LocalToWorld, OnSizeChanged, RemoveFromParent, SetGameObject, SetLayer, SetPosition, SetRenderingOrder, SetScale, SetSize, SetXY, TransformPoint, TransformRect, TransformRectPoint, Update, WorldToLocal, alpha, blendMode, cacheAsBitmap, cachedTransform, cursor, filter, focalLength, focusable, focused, gameObject, graphics, grayed, height, home, isDisposed, layer, location, material, onAddedToStage, onClickLink, onClick, onFocusIn, onFocusOut, onKeyDown, onMouseWheel, onRemovedFromStage, onRightClick, onRollOut, onRollOver, onTouchBegin, onTouchEnd, onTouchMove, paintingGraphics, paintingMode, parent, perspective, pivot, pixelPerfect, position, renderingOrder, rotationX, rotationY, rotation, scaleX, scaleY, scale, shader, size, skew, stage, tabStop, topmost, touchDisabled, touchable, visible, width, worldSpaceContainer, xy, x, y, z

EventDispatcher

AddCapture, AddEventListener, BroadcastEvent, BubbleEvent, DispatchEvent, RemoveCapture, RemoveEventListener, RemoveEventListeners, hasEventListeners, isDispatching

构造函数​

MovieClip()​

public MovieClip();

源码:Core/MovieClip.cs (行 64)

字段​

ignoreEngineTimeScale​

public bool ignoreEngineTimeScale;

Whether to ignore Unity time scale.

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

interval​

public float interval;

源码:Core/MovieClip.cs (行 22)

repeatDelay​

public float repeatDelay;

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

swing​

public bool swing;

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

timeScale​

public float timeScale;

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

方法​

Advance(float)​

public void Advance(float time);
参数类型说明
timefloat

源码:Core/MovieClip.cs (行 197)

Rewind()​

public void Rewind();

源码:Core/MovieClip.cs (行 171)

SetPlaySettings()​

public void SetPlaySettings();

源码:Core/MovieClip.cs (行 261)

SetPlaySettings(int, int, int, int)​

public void SetPlaySettings(int start, int end, int times, int endAt);

从start帧开始,播放到end帧(-1表示结尾),重复times次(0表示无限循环),循环结束后,停止在endAt帧(-1表示参数end)

参数类型说明
startint
endint
timesint
endAtint

源码:Core/MovieClip.cs (行 273)

SyncStatus(MovieClip)​

public void SyncStatus(MovieClip anotherMc);
参数类型说明
anotherMcMovieClip

源码:Core/MovieClip.cs (行 184)

属性​

frame​

public int frame { get; set; }

源码:Core/MovieClip.cs (行 151)

frames​

public Frame[] frames { get; set; }

源码:Core/MovieClip.cs (行 92)

onPlayEnd​

public EventListener onPlayEnd { get; }

源码:Core/MovieClip.cs (行 84)

playing​

public bool playing { get; set; }

源码:Core/MovieClip.cs (行 135)