GObject.SetSize Method (Single, Single, Boolean) |
Change size.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void SetSize(
float wv,
float hv,
bool ignorePivot
)
Parameters
- wv
- Type: System.Single
Width value. - hv
- Type: System.Single
Height value. - ignorePivot
- Type: System.Boolean
If pivot is set, the object's positon will change when its size change. Set ignorePivot=true to keep the position.
See Also