Click or drag to resize

MovieClip Class

Inheritance Hierarchy
SystemObject
  FairyGUIEventDispatcher
    FairyGUIDisplayObject
      FairyGUIImage
        FairyGUIMovieClip

Namespace:  FairyGUI
Assembly:  FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public class MovieClip : Image

The MovieClip type exposes the following members.

Constructors
  NameDescription
Public methodMovieClip
Initializes a new instance of the MovieClip class
Top
Properties
  NameDescription
Public propertyalpha
(Inherited from DisplayObject.)
Public propertyblendMode
(Inherited from DisplayObject.)
Public propertycacheAsBitmap
将整个显示对象(如果是容器,则容器包含的整个显示列表)静态化,所有内容被缓冲到一张纹理上。 DC将保持为1。CPU消耗将降到最低。但对象的任何变化不会更新。 当cacheAsBitmap已经为true时,再次调用cacheAsBitmap=true将会刷新一次。
(Inherited from DisplayObject.)
Public propertycachedTransform
(Inherited from DisplayObject.)
Public propertycolor
(Inherited from Image.)
Public propertyfillAmount
(Inherited from Image.)
Public propertyfillClockwise
(Inherited from Image.)
Public propertyfillMethod
(Inherited from Image.)
Public propertyfillOrigin
(Inherited from Image.)
Public propertyfilter
(Inherited from DisplayObject.)
Public propertyflip
(Inherited from Image.)
Public propertyfocalLength
(Inherited from DisplayObject.)
Public propertyframe
Public propertyframeCount
Public propertyframes
Public propertygameObject
(Inherited from DisplayObject.)
Public propertygraphics
(Inherited from DisplayObject.)
Public propertygrayed
(Inherited from DisplayObject.)
Public propertyheight
(Inherited from DisplayObject.)
Public propertyhome
为对象设置一个默认的父Transform。当对象不在显示列表里时,它的GameObject挂到哪里。
(Inherited from DisplayObject.)
Public propertyisDisposed
(Inherited from DisplayObject.)
Public propertylayer
(Inherited from DisplayObject.)
Public propertylocation
This is the pivot position
(Inherited from DisplayObject.)
Public propertymaterial
(Inherited from DisplayObject.)
Public propertyonAddedToStage
(Inherited from DisplayObject.)
Public propertyonClick
(Inherited from DisplayObject.)
Public propertyonClickLink
(Inherited from DisplayObject.)
Public propertyonKeyDown
(Inherited from DisplayObject.)
Public propertyonMouseWheel
(Inherited from DisplayObject.)
Public propertyonPlayEnd
Public propertyonRemovedFromStage
(Inherited from DisplayObject.)
Public propertyonRightClick
(Inherited from DisplayObject.)
Public propertyonRollOut
(Inherited from DisplayObject.)
Public propertyonRollOver
(Inherited from DisplayObject.)
Public propertyonTouchBegin
(Inherited from DisplayObject.)
Public propertyonTouchEnd
(Inherited from DisplayObject.)
Public propertyonTouchMove
(Inherited from DisplayObject.)
Public propertypaintingGraphics
(Inherited from DisplayObject.)
Public propertypaintingMode
(Inherited from DisplayObject.)
Public propertyparent
(Inherited from DisplayObject.)
Public propertyperspective
当对象处于ScreenSpace,也就是使用正交相机渲染时,对象虽然可以绕X轴或者Y轴旋转,但没有透视效果。设置perspective,可以模拟出透视效果。
(Inherited from DisplayObject.)
Public propertypivot
(Inherited from DisplayObject.)
Public propertyplaying
Public propertyposition
(Inherited from DisplayObject.)
Public propertyrenderingOrder
(Inherited from DisplayObject.)
Public propertyrotation
(Inherited from DisplayObject.)
Public propertyrotationX
(Inherited from DisplayObject.)
Public propertyrotationY
(Inherited from DisplayObject.)
Public propertyscale
(Inherited from DisplayObject.)
Public propertyscale9Grid
(Inherited from Image.)
Public propertyscaleByTile
(Inherited from Image.)
Public propertyscaleX
(Inherited from DisplayObject.)
Public propertyscaleY
(Inherited from DisplayObject.)
Public propertyshader
(Inherited from DisplayObject.)
Public propertysize
(Inherited from DisplayObject.)
Public propertyskew
(Inherited from DisplayObject.)
Public propertystage
(Inherited from DisplayObject.)
Public propertytexture
(Inherited from Image.)
Public propertytileGridIndice (Inherited from Image.)
Public propertytopmost
(Inherited from DisplayObject.)
Public propertytouchable
(Inherited from DisplayObject.)
Public propertyvisible
(Inherited from DisplayObject.)
Public propertywidth
(Inherited from DisplayObject.)
Public propertyworldSpaceContainer
(Inherited from DisplayObject.)
Public propertyx
(Inherited from DisplayObject.)
Public propertyxy
(Inherited from DisplayObject.)
Public propertyy
(Inherited from DisplayObject.)
Public propertyz
(Inherited from DisplayObject.)
Top
Methods
  NameDescription
Public methodAddEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodAddEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodAdvance
Public methodBroadcastEvent
(Inherited from EventDispatcher.)
Public methodBubbleEvent
(Inherited from EventDispatcher.)
Public methodClear
Public methodDispatchEvent(String)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(EventContext)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object)
(Inherited from EventDispatcher.)
Public methodDispatchEvent(String, Object, Object) (Inherited from EventDispatcher.)
Public methodDispose (Inherited from DisplayObject.)
Public methodEnsureSizeCorrect (Inherited from DisplayObject.)
Public methodEnterPaintingMode
进入绘画模式,整个对象将画到一张RenderTexture上,然后这种贴图将代替原有的显示内容。 可以在onPaint回调里对这张纹理进行进一步操作,实现特殊效果。 可能有多个地方要求进入绘画模式,这里用requestorId加以区别,取值是1、2、4、8、16以此类推。1024内内部保留。用户自定义的id从1024开始。
(Inherited from DisplayObject.)
Public methodGetBounds
(Inherited from DisplayObject.)
Public methodGlobalToLocal
将舞台坐标转换为本地坐标
(Inherited from DisplayObject.)
Public methodInvalidateBatchingState
(Inherited from DisplayObject.)
Public methodLeavePaintingMode
离开绘画模式
(Inherited from DisplayObject.)
Public methodLocalToGlobal
将本地坐标转换为舞台坐标
(Inherited from DisplayObject.)
Public methodPrintTo
截取当前图片的一部分输出到另一个Mesh。不支持图片的填充模式、九宫格的平铺模式。
(Inherited from Image.)
Public methodRemoveEventListener(String, EventCallback0)
(Inherited from EventDispatcher.)
Public methodRemoveEventListener(String, EventCallback1)
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners
(Inherited from EventDispatcher.)
Public methodRemoveEventListeners(String)
(Inherited from EventDispatcher.)
Public methodRemoveFromParent
(Inherited from DisplayObject.)
Public methodRewind
Public methodSetData
Public methodSetNativeSize
(Inherited from Image.)
Public methodSetPlaySettings
Public methodSetPlaySettings(Int32, Int32, Int32, Int32)
从start帧开始,播放到end帧(-1表示结尾),重复times次(0表示无限循环),循环结束后,停止在endAt帧(-1表示参数end)
Public methodSetPosition
(Inherited from DisplayObject.)
Public methodSetScale
(Inherited from DisplayObject.)
Public methodSetSize
(Inherited from DisplayObject.)
Public methodSetXY
(Inherited from DisplayObject.)
Public methodSyncStatus
Public methodTransformPoint
(Inherited from DisplayObject.)
Public methodTransformRect
(Inherited from DisplayObject.)
Public methodUpdate
Public methodWorldToLocal
转换世界坐标点到等效的本地xy平面的点。等效的意思是他们在屏幕方向看到的位置一样。 返回的点是在对象的本地坐标空间,且z=0
(Inherited from DisplayObject.)
Top
Fields
  NameDescription
Public fieldgOwner
(Inherited from DisplayObject.)
Public fieldid
(Inherited from DisplayObject.)
Public fieldignoreEngineTimeScale
Whether to ignore Unity time scale.
Public fieldinterval
Public fieldname
(Inherited from DisplayObject.)
Public fieldonPaint
(Inherited from DisplayObject.)
Public fieldrepeatDelay
Public fieldswing
Public fieldtimeScale
Top
See Also