C# Class FairyGUI.MovieClip

Inheritance: Image
Datei anzeigen Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
interval float
repeatDelay float
swing bool

Public Methods

Method Description
Clear ( ) : void

DrawFrame ( ) : void
MovieClip ( ) : System.Collections.Generic

SetData ( NTexture texture, FairyGUI.Frame frames, Rect boundsRect ) : void

SetPlaySettings ( ) : void

SetPlaySettings ( int start, int end, int times, int endAt ) : void

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

Update ( UpdateContext context ) : void

Protected Methods

Method Description
Rebuild ( ) : void

Method Details

Clear() public method

public Clear ( ) : void
return void

DrawFrame() public method

public DrawFrame ( ) : void
return void

MovieClip() public method

public MovieClip ( ) : System.Collections.Generic
return System.Collections.Generic

Rebuild() protected method

protected Rebuild ( ) : void
return void

SetData() public method

public SetData ( NTexture texture, FairyGUI.Frame frames, Rect boundsRect ) : void
texture NTexture
frames FairyGUI.Frame
boundsRect UnityEngine.Rect
return void

SetPlaySettings() public method

public SetPlaySettings ( ) : void
return void

SetPlaySettings() public method

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

Update() public method

public Update ( UpdateContext context ) : void
context UpdateContext
return void

Property Details

interval public_oe property

public float interval
return float

repeatDelay public_oe property

public float repeatDelay
return float

swing public_oe property

public bool swing
return bool