Click or drag to resize

GObject.SetPivot Method (Single, Single)

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
C#
public void SetPivot(
	float xv,
	float yv
)

Parameters

xv
Type: System.Single
x value in ratio
yv
Type: System.Single
y value in ratio
See Also