C# Class FairyGUI.Transition

Exibir arquivo Open project: fairygui/FairyGUI-unity Class Usage Examples

Public Properties

Property Type Description
autoPlayDelay float
autoPlayRepeat int
invalidateBatchingEveryFrame bool

Public Methods

Method Description
ApplyValue ( TransitionItem item, TransitionValue value ) : void
CheckAllComplete ( ) : void
ClearHooks ( ) : void

Copy ( Transition source ) : void

DecodeValue ( TransitionActionType type, string str, TransitionValue value ) : void
Dispose ( ) : void
InternalPlay ( float delay ) : void
Play ( ) : void

Play ( PlayCompleteCallback onComplete ) : void

Play ( int times, float delay, PlayCompleteCallback onComplete ) : void

PlayReverse ( ) : void

PlayReverse ( PlayCompleteCallback onComplete ) : void

PlayReverse ( int times, float delay, PlayCompleteCallback onComplete ) : void

SetDuration ( string label, float value ) : void

SetHook ( string label, TransitionHook callback ) : void

SetTarget ( string label, GObject newTarget ) : void

SetValue ( string label ) : void

Setup ( XML xml ) : void
StartTween ( TransitionItem item, float delay ) : void
Stop ( ) : void

Stop ( bool setToComplete, bool processCallback ) : void

StopItem ( TransitionItem item, bool setToComplete ) : void
Transition ( GComponent owner ) : System
_Play ( int times, float delay, PlayCompleteCallback onComplete, bool reverse ) : void
__playTransComplete ( TransitionItem item ) : void
tweenComplete ( TransitionItem item ) : void

Private Methods

Method Description
ShakeItem ( TransitionItem item ) : void
UpdateFromRelations ( string targetId, float dx, float dy ) : void

Method Details

ApplyValue() public method

public ApplyValue ( TransitionItem item, TransitionValue value ) : void
item TransitionItem
value TransitionValue
return void

CheckAllComplete() public method

public CheckAllComplete ( ) : void
return void

ClearHooks() public method

public ClearHooks ( ) : void
return void

Copy() public method

public Copy ( Transition source ) : void
source Transition
return void

DecodeValue() public method

public DecodeValue ( TransitionActionType type, string str, TransitionValue value ) : void
type TransitionActionType
str string
value TransitionValue
return void

Dispose() public method

public Dispose ( ) : void
return void

InternalPlay() public method

public InternalPlay ( float delay ) : void
delay float
return void

Play() public method

public Play ( ) : void
return void

Play() public method

public Play ( PlayCompleteCallback onComplete ) : void
onComplete PlayCompleteCallback
return void

Play() public method

public Play ( int times, float delay, PlayCompleteCallback onComplete ) : void
times int
delay float
onComplete PlayCompleteCallback
return void

PlayReverse() public method

public PlayReverse ( ) : void
return void

PlayReverse() public method

public PlayReverse ( PlayCompleteCallback onComplete ) : void
onComplete PlayCompleteCallback
return void

PlayReverse() public method

public PlayReverse ( int times, float delay, PlayCompleteCallback onComplete ) : void
times int
delay float
onComplete PlayCompleteCallback
return void

SetDuration() public method

public SetDuration ( string label, float value ) : void
label string
value float
return void

SetHook() public method

public SetHook ( string label, TransitionHook callback ) : void
label string
callback TransitionHook
return void

SetTarget() public method

public SetTarget ( string label, GObject newTarget ) : void
label string
newTarget GObject
return void

SetValue() public method

public SetValue ( string label ) : void
label string
return void

Setup() public method

public Setup ( XML xml ) : void
xml FairyGUI.Utils.XML
return void

StartTween() public method

public StartTween ( TransitionItem item, float delay ) : void
item TransitionItem
delay float
return void

Stop() public method

public Stop ( ) : void
return void

Stop() public method

public Stop ( bool setToComplete, bool processCallback ) : void
setToComplete bool
processCallback bool
return void

StopItem() public method

public StopItem ( TransitionItem item, bool setToComplete ) : void
item TransitionItem
setToComplete bool
return void

Transition() public method

public Transition ( GComponent owner ) : System
owner GComponent
return System

_Play() public method

public _Play ( int times, float delay, PlayCompleteCallback onComplete, bool reverse ) : void
times int
delay float
onComplete PlayCompleteCallback
reverse bool
return void

__playTransComplete() public method

public __playTransComplete ( TransitionItem item ) : void
item TransitionItem
return void

tweenComplete() public method

public tweenComplete ( TransitionItem item ) : void
item TransitionItem
return void

Property Details

autoPlayDelay public_oe property

自动播放的延迟时间。
public float autoPlayDelay
return float

autoPlayRepeat public_oe property

自动播放的次数。
public int autoPlayRepeat
return int

invalidateBatchingEveryFrame public_oe property

当你启动了自动合批,动效里有涉及到XY、大小、旋转等的改变,如果你观察到元件的显示深度在播放过程中有错误,可以开启这个选项。
public bool invalidateBatchingEveryFrame
return bool