Свойство | Type | Description | |
---|---|---|---|
data | object | ||
dragBounds | Rect? | ||
group | FairyGUI.GGroup | ||
name | string |
Свойство | Type | Description | |
---|---|---|---|
_sizeImplType | int | ||
underConstruct | bool |
Свойство | 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 |
Méthode | 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 ( |
|
Méthode | Description | |
---|---|---|
CreateDisplayObject ( ) : void | ||
HandleGrayedChanged ( ) : void | ||
HandlePositionChanged ( ) : void | ||
HandleScaleChanged ( ) : void | ||
HandleSizeChanged ( ) : void | ||
SetSizeDirectly ( float wv, float hv ) : void | ||
UpdateAlpha ( ) : void | ||
UpdateGear ( int index ) : void |
Méthode | 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 | |
Résultat | void |
public AddRelation ( |
||
target | ||
relationType | RelationType | |
usePercent | bool | |
Résultat | void |
public Center ( bool restraint ) : void | ||
restraint | bool | Add relations to maintain the center state. |
Résultat | void |
public GObject ( ) : System.Collections.Generic | ||
Résultat | System.Collections.Generic |
public GlobalToLocal ( |
||
rect | ||
Résultat |
public GlobalToLocal ( |
||
pt | ||
Résultat |
public HandleControllerChanged ( FairyGUI.Controller c ) : void | ||
c | FairyGUI.Controller | |
Résultat | void |
public LocalToGlobal ( |
||
rect | ||
Résultat |
public LocalToGlobal ( |
||
pt | ||
Résultat |
public LocalToRoot ( |
||
pt | ||
r | ||
Résultat |
public RemoveRelation ( |
||
target | ||
relationType | RelationType | |
Résultat | void |
public RootToLocal ( |
||
pt | ||
r | ||
Résultat |
public SetPivot ( float xv, float yv ) : void | ||
xv | float | x value in ratio |
yv | float | y value in ratio |
Résultat | 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 |
Résultat | void |
public SetPosition ( float xv, float yv, float zv ) : void | ||
xv | float | x value. |
yv | float | y value. |
zv | float | z value. |
Résultat | void |
public SetScale ( float wv, float hv ) : void | ||
wv | float | The horizontal scale factor. |
hv | float | The vertical scale factor |
Résultat | void |
public SetSize ( float wv, float hv ) : void | ||
wv | float | Width value. |
hv | float | Height value. |
Résultat | 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. |
Résultat | void |
protected SetSizeDirectly ( float wv, float hv ) : void | ||
wv | float | |
hv | float | |
Résultat | void |
public SetXY ( float xv, float yv ) : void | ||
xv | float | x value. |
yv | float | y value. |
Résultat | void |
public Setup_AfterAdd ( |
||
xml | ||
Résultat | void |
public Setup_BeforeAdd ( |
||
xml | ||
Résultat | void |
public TransformPoint ( |
||
pt | ||
targetSpace | ||
Résultat |
public TransformRect ( |
||
rect | ||
targetSpace | ||
Résultat |
public TweenFade ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public TweenMove ( |
||
endValue | ||
duration | float | |
Résultat | Tweener |
public TweenMoveX ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public TweenMoveY ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public TweenResize ( |
||
endValue | ||
duration | float | |
Résultat | Tweener |
public TweenRotate ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public TweenScale ( |
||
endValue | ||
duration | float | |
Résultat | Tweener |
public TweenScaleX ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public TweenScaleY ( float endValue, float duration ) : Tweener | ||
endValue | float | |
duration | float | |
Résultat | Tweener |
public WorldToLocal ( |
||
pt | ||
Résultat |
public WorldToLocal ( |
||
pt | ||
camera | ||
Résultat |