Click or drag to resize

GObjectSetPivot 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: SystemSingle
x value in ratio
yv
Type: SystemSingle
y value in ratio
See Also