ドキュメント

Unity Engine

Unity Engine

Resolution

Represents a display resolution.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public struct Resolution : IEquatable<Resolution>

Remarks

Resolution structures are returned by Screen.resolutions property.

Properties

Property

Description

heightResolution height in pixels.
refreshRateRatioResolution's vertical refresh rate in Hz.
widthResolution width in pixels.

Methods

Method

Description

EqualsReturns true if the resolutions are equal.
GetHashCodeReturns the hash code for this resolution.
ToStringReturns a nicely formatted string of the resolution.

Operators

Operator

Description

operator ==Returns true if two resolutions are equal.
operator !=Returns true if two resolutions are unequal.