Interface DisplayMetrics
Namespace: Unity.UIWidgets.engine
Syntax
public interface DisplayMetrics
Properties
devicePixelRatio
Declaration
float devicePixelRatio { get; }
Property Value
Type | Description |
---|---|
System.Single |
viewInsets
Declaration
WindowPadding viewInsets { get; }
Property Value
Type | Description |
---|---|
WindowPadding |
viewMetrics
Declaration
viewMetrics viewMetrics { get; }
Property Value
Type | Description |
---|---|
viewMetrics |
viewPadding
Declaration
WindowPadding viewPadding { get; }
Property Value
Type | Description |
---|---|
WindowPadding |
Methods
OnEnable()
Declaration
void OnEnable()
OnGUI()
Declaration
void OnGUI()
Update()
Declaration
void Update()