Skip to content

構造体 GcResolution

Namespace: GameCanvas

csharp
public readonly struct GcResolution : System.IEquatable<GcResolution>

解像度とリフレッシュレート

継承元

  • System.IEquatable<GcResolution>

コンストラクター

GcResolution(int, int, RefreshRate)

csharp
public GcResolution(int width, int height, in RefreshRate refreshRate)

コンストラクタ

GcResolution(int2, RefreshRate)

csharp
public GcResolution(in int2 size, in RefreshRate refreshRate)

コンストラクタ

フィールド

RefreshRate

csharp
public readonly RefreshRate RefreshRate

リフレッシュレート(1秒間の更新回数)

Size

csharp
public readonly int2 Size

解像度

プロパティ

Height

csharp
public int Height { get; }

縦幅

Width

csharp
public int Width { get; }

横幅

メソッド

Equals(GcResolution)

csharp
public bool Equals(GcResolution other)

Equals(object)

csharp
public override bool Equals(object obj)

GetHashCode()

csharp
public override int GetHashCode()

ToString()

csharp
public override string ToString()

演算子

explicit operator GcResolution(Resolution)

csharp
public static explicit operator GcResolution(Resolution src)

explicit operator Resolution(GcResolution)

csharp
public static explicit operator Resolution(GcResolution src)

operator !=(GcResolution, GcResolution)

csharp
public static bool operator !=(GcResolution lh, GcResolution rh)

operator ==(GcResolution, GcResolution)

csharp
public static bool operator ==(GcResolution lh, GcResolution rh)

Released under the MIT License.