Skip to content

構造体 GcKeyEvent

Namespace: GameCanvas

csharp
public readonly struct GcKeyEvent : System.IEquatable<GcKeyEvent>, System.IComparable<GcKeyEvent>

キーイベント

継承元

  • System.IEquatable<GcKeyEvent>
  • System.IComparable<GcKeyEvent>

フィールド

Frame

csharp
public readonly int Frame

フレーム番号

Key

csharp
public readonly Key Key

キーコード

Null

csharp
public static readonly GcKeyEvent Null = default

Phase

csharp
public readonly GcKeyEventPhase Phase

段階

Time

csharp
public readonly float Time

時間(起動からの経過秒数)

メソッド

CompareTo(GcKeyEvent)

csharp
public int CompareTo(GcKeyEvent other)

Equals(GcKeyEvent)

csharp
public bool Equals(GcKeyEvent other)

Equals(object)

csharp
public override bool Equals(object obj)

GetHashCode()

csharp
public override int GetHashCode()

ToString()

csharp
public override string ToString()

演算子

operator !=(GcKeyEvent, GcKeyEvent)

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

operator ==(GcKeyEvent, GcKeyEvent)

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

Released under the MIT License.