Table of Contents

Struct GcKeyEvent

Namespace
GameCanvas
Assembly
GameCanvas.dll

キーイベント

public readonly struct GcKeyEvent : IEquatable<GcKeyEvent>, IComparable<GcKeyEvent>
Implements
Inherited Members

Fields

Frame

フレーム番号

public readonly int Frame

Field Value

int

Key

キーコード

public readonly Key Key

Field Value

Key

Null

public static readonly GcKeyEvent Null

Field Value

GcKeyEvent

Phase

段階

public readonly GcKeyEventPhase Phase

Field Value

GcKeyEventPhase

Time

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

public readonly float Time

Field Value

float

Methods

CompareTo(GcKeyEvent)

public int CompareTo(GcKeyEvent other)

Parameters

other GcKeyEvent

Returns

int

Equals(GcKeyEvent)

public bool Equals(GcKeyEvent other)

Parameters

other GcKeyEvent

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(GcKeyEvent, GcKeyEvent)

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

Parameters

lh GcKeyEvent
rh GcKeyEvent

Returns

bool

operator !=(GcKeyEvent, GcKeyEvent)

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

Parameters

lh GcKeyEvent
rh GcKeyEvent

Returns

bool