Click or drag to resize

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
C#
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