|
|
|
|
|
|
protected override float queryDevicePixelRatio() { |
|
|
|
return this._uiWidgetsPanel.devicePixelRatio; |
|
|
|
} |
|
|
|
|
|
|
|
protected override int queryAntiAliasing() { |
|
|
|
return this._uiWidgetsPanel.antiAliasing; |
|
|
|
} |
|
|
|
|
|
|
|
protected override Vector2 queryWindowSize() { |
|
|
|
var rect = this._uiWidgetsPanel.rectTransform.rect; |
|
|
|
|
|
|
static Event _repaintEvent; |
|
|
|
|
|
|
|
[SerializeField] protected float devicePixelRatioOverride; |
|
|
|
[SerializeField] protected int antiAliasingOverride = 4; |
|
|
|
WindowAdapter _windowAdapter; |
|
|
|
Texture _texture; |
|
|
|
Vector2 _lastMouseMove; |
|
|
|
|
|
|
return this.devicePixelRatioOverride > 0 |
|
|
|
? this.devicePixelRatioOverride |
|
|
|
: this._displayMetrics.devicePixelRatio; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public int antiAliasing { |
|
|
|
get { |
|
|
|
return this.antiAliasingOverride >= 0 ? this.antiAliasingOverride : 4; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|