GRootSetContentScaleFactor Method (Int32, Int32, UIContentScalerScreenMatchMode) |
Set content scale factor.
Namespace:
FairyGUI
Assembly:
FairyGUI (in FairyGUI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public void SetContentScaleFactor(
int designResolutionX,
int designResolutionY,
UIContentScalerScreenMatchMode screenMatchMode
)
Parameters
- designResolutionX
- Type: SystemInt32
Design resolution of x axis. - designResolutionY
- Type: SystemInt32
Design resolution of y axis. - screenMatchMode
- Type: FairyGUIUIContentScalerScreenMatchMode
Match mode.
See Also