GObjectSetPivot 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)
Syntax public void SetPivot(
float xv,
float yv,
bool asAnchor
)
Parameters
- xv
- Type: SystemSingle
x value in ratio - yv
- Type: SystemSingle
y value in ratio - asAnchor
- Type: SystemBoolean
If use the pivot as the anchor position
See Also