Struct GcResolution
- Namespace
- GameCanvas
- Assembly
- GameCanvas.dll
解像度とリフレッシュレート
public readonly struct GcResolution : IEquatable<GcResolution>
- Implements
- Inherited Members
Constructors
GcResolution(int, int, in RefreshRate)
コンストラクタ
public GcResolution(int width, int height, in RefreshRate refreshRate)
Parameters
GcResolution(in int2, in RefreshRate)
コンストラクタ
public GcResolution(in int2 size, in RefreshRate refreshRate)
Parameters
size
int2refreshRate
RefreshRate
Fields
RefreshRate
リフレッシュレート(1秒間の更新回数)
public readonly RefreshRate RefreshRate
Field Value
- RefreshRate
Size
解像度
public readonly int2 Size
Field Value
- int2
Properties
Height
縦幅
public int Height { get; }
Property Value
Width
横幅
public int Width { get; }
Property Value
Methods
Equals(GcResolution)
public bool Equals(GcResolution other)
Parameters
other
GcResolution
Returns
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(GcResolution, GcResolution)
public static bool operator ==(GcResolution lh, GcResolution rh)
Parameters
lh
GcResolutionrh
GcResolution
Returns
explicit operator Resolution(GcResolution)
public static explicit operator Resolution(GcResolution src)
Parameters
src
GcResolution
Returns
- Resolution
explicit operator GcResolution(Resolution)
public static explicit operator GcResolution(Resolution src)
Parameters
src
Resolution
Returns
operator !=(GcResolution, GcResolution)
public static bool operator !=(GcResolution lh, GcResolution rh)
Parameters
lh
GcResolutionrh
GcResolution