GObject.SetPivot Method (Single, Single, Boolean) |
Change the x and y coordinates of the object's origin in its own coordinate space.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void SetPivot(
float xv,
float yv,
bool asAnchor
)
Parameters
- xv
- Type: System.Single
x value in ratio - yv
- Type: System.Single
y value in ratio - asAnchor
- Type: System.Boolean
If use the pivot as the anchor position
See Also