Property | Type | Description | |
---|---|---|---|
data | object | ||
dragBounds | Rect? | ||
group | FairyGUI.GGroup | ||
name | string |
Property | Type | Description | |
---|---|---|---|
_sizeImplType | int | ||
underConstruct | bool |
Property | Type | Description | |
---|---|---|---|
DragBegin | void | ||
DragEnd | void | ||
InitDrag | void | ||
InternalSetParent | void | ||
Reset | void | ||
UpdateGearFromRelations | void | ||
__rollOut | void | ||
__rollOver | void | ||
__touchBegin | void | ||
__touchEnd | void | ||
__touchEnd2 | void | ||
__touchMove | void | ||
__touchMove2 | void |
Method | Description | |
---|---|---|
AddRelation ( |
|
|
AddRelation ( |
|
|
Center ( ) : void |
Set the object in middle of the parent or GRoot if the parent is not set.
|
|
Center ( bool restraint ) : void |
Set the object in middle of the parent or GRoot if the parent is not set.
|
|
ConstructFromResource ( ) : void | ||
Dispose ( ) : void | ||
GObject ( ) : System.Collections.Generic | ||
GetGear ( int index ) : |
||
GlobalToLocal ( |
|
|
GlobalToLocal ( |
Transforms a point from global (Stage) coordinates to the local coordinate system.
|
|
HandleControllerChanged ( FairyGUI.Controller c ) : void | ||
InvalidateBatchingState ( ) : void |
Mark the fairy batching state is invalid.
|
|
LocalToGlobal ( |
|
|
LocalToGlobal ( |
Transforms a point from the local coordinate system to global (Stage) coordinates.
|
|
LocalToRoot ( |
Transforms a point from the local coordinate system to GRoot coordinates.
|
|
RemoveFromParent ( ) : void |
|
|
RemoveRelation ( |
|
|
RequestFocus ( ) : void |
Request focus on this object.
|
|
RootToLocal ( |
Transforms a point from the GRoot coordinate to local coordinates system.
|
|
SetHome ( |
|
|
SetPivot ( float xv, float yv ) : void |
Change the x and y coordinates of the object's origin in its own coordinate space.
|
|
SetPivot ( float xv, float yv, bool asAnchor ) : void |
Change the x and y coordinates of the object's origin in its own coordinate space.
|
|
SetPosition ( float xv, float yv, float zv ) : void |
change the x,y,z coordinates of the object relative to the local coordinates of the parent.
|
|
SetScale ( float wv, float hv ) : void |
Change the scale factor.
|
|
SetSize ( float wv, float hv ) : void |
Change size.
|
|
SetSize ( float wv, float hv, bool ignorePivot ) : void |
Change size.
|
|
SetXY ( float xv, float yv ) : void |
change the x and y coordinates of the object relative to the local coordinates of the parent.
|
|
Setup_AfterAdd ( |
||
Setup_BeforeAdd ( |
||
StartDrag ( ) : void |
|
|
StartDrag ( int touchId ) : void |
|
|
StopDrag ( ) : void |
|
|
TransformPoint ( |
|
|
TransformRect ( |
|
|
TweenFade ( float endValue, float duration ) : Tweener | ||
TweenMove ( |
||
TweenMoveX ( float endValue, float duration ) : Tweener | ||
TweenMoveY ( float endValue, float duration ) : Tweener | ||
TweenResize ( |
||
TweenRotate ( float endValue, float duration ) : Tweener | ||
TweenScale ( |
||
TweenScaleX ( float endValue, float duration ) : Tweener | ||
TweenScaleY ( float endValue, float duration ) : Tweener | ||
WorldToLocal ( |
|
|
WorldToLocal ( |
|
Method | Description | |
---|---|---|
CreateDisplayObject ( ) : void | ||
HandleGrayedChanged ( ) : void | ||
HandlePositionChanged ( ) : void | ||
HandleScaleChanged ( ) : void | ||
HandleSizeChanged ( ) : void | ||
SetSizeDirectly ( float wv, float hv ) : void | ||
UpdateAlpha ( ) : void | ||
UpdateGear ( int index ) : void |
Method | Description | |
---|---|---|
DragBegin ( int touchId ) : void | ||
DragEnd ( ) : void | ||
InitDrag ( ) : void | ||
InternalSetParent ( |
||
Reset ( ) : void | ||
UpdateGearFromRelations ( int index, float dx, float dy ) : void | ||
__rollOut ( ) : void | ||
__rollOver ( ) : void | ||
__touchBegin ( |
||
__touchEnd ( |
||
__touchEnd2 ( |
||
__touchMove ( |
||
__touchMove2 ( |
public AddRelation ( |
||
target | ||
relationType | RelationType | |
return | void |
public AddRelation ( |
||
target | ||
relationType | RelationType | |
usePercent | bool | |
return | void |
public Center ( bool restraint ) : void | ||
restraint | bool | Add relations to maintain the center state. |
return | void |
public GObject ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public GlobalToLocal ( |
||
rect | ||
return |
public GlobalToLocal ( |
||
pt | ||
return |
public HandleControllerChanged ( FairyGUI.Controller c ) : void | ||
c | FairyGUI.Controller | |
return | void |
public LocalToGlobal ( |
||
rect | ||
return |
public LocalToGlobal ( |
||
pt | ||
return |
public LocalToRoot ( |
||
pt | ||
r | ||
return |
public RemoveRelation ( |
||
target | ||
relationType | RelationType | |
return | void |
public RootToLocal ( |
||
pt | ||
r | ||
return |
public SetPivot ( float xv, float yv ) : void | ||
xv | float | x value in ratio |
yv | float | y value in ratio |
return | void |
public SetPivot ( float xv, float yv, bool asAnchor ) : void | ||
xv | float | x value in ratio |
yv | float | y value in ratio |
asAnchor | bool | If use the pivot as the anchor position |
return | void |
public SetPosition ( float xv, float yv, float zv ) : void | ||
xv | float | x value. |
yv | float | y value. |
zv | float | z value. |
return | void |
public SetScale ( float wv, float hv ) : void | ||
wv | float | The horizontal scale factor. |
hv | float | The vertical scale factor |
return | void |
public SetSize ( float wv, float hv ) : void | ||
wv | float | Width value. |
hv | float | Height value. |
return | void |
public SetSize ( float wv, float hv, bool ignorePivot ) : void | ||
wv | float | Width value. |
hv | float | Height value. |
ignorePivot | bool | If pivot is set, the object's positon will change when its size change. Set ignorePivot=false to keep the position. |
return | void |
protected SetSizeDirectly ( float wv, float hv ) : void | ||
wv | float | |
hv | float | |
return | void |
public SetXY ( float xv, float yv ) : void | ||
xv | float | x value. |
yv | float | y value. |
return | void |
public Setup_AfterAdd ( |
||
xml | ||
return | void |
public Setup_BeforeAdd ( |
||
xml | ||
return | void |
public TransformPoint ( |
||
pt | ||
targetSpace | ||
return |
public TransformRect ( |
||
rect | ||
targetSpace | ||
return |
public TweenFade ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public TweenMove ( |
||
endValue | ||
duration | float | |
return | Tweener |
public TweenMoveX ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public TweenMoveY ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public TweenResize ( |
||
endValue | ||
duration | float | |
return | Tweener |
public TweenRotate ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public TweenScale ( |
||
endValue | ||
duration | float | |
return | Tweener |
public TweenScaleX ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public TweenScaleY ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
return | Tweener |
public WorldToLocal ( |
||
pt | ||
return |
public WorldToLocal ( |
||
pt | ||
camera | ||
return |