PointerEvent 構造体
正規化されたポインター入力を識別子、段階、および座標とともに表します。
名前空間: FloatSoda.Abstractions.Input
アセンブリ: FloatSoda.Abstractions.dll
public readonly record struct PointerEvent : IEquatable<PointerEvent>実装するインターフェイス
Section titled “実装するインターフェイス”継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
コンストラクター
Section titled “コンストラクター”PointerEvent(int, PointerEventPhase, Offset, Matrix3x2?)
Section titled “PointerEvent(int, PointerEventPhase, Offset, Matrix3x2?)”正規化されたポインター入力を識別子、段階、および座標とともに表します。
public PointerEvent(int PointerId, PointerEventPhase Phase, Offset Position, Matrix3x2? Transform = null)パラメーター
Section titled “パラメーター”PointerId int
同じポインターの追加から削除までを識別する番号。
Phase PointerEventPhase
ポインターイベントのライフサイクル上の段階。
Position Offset
イベント発生位置。単位と原点はイベントを生成した入力領域の座標系に従います。
Transform Matrix3x2?
イベントに関連付ける任意の座標変換量。指定しない場合はnullです。
ポインターイベントのライフサイクル上の段階。
public PointerEventPhase Phase { get; init; }プロパティの値
Section titled “プロパティの値”PointerId
Section titled “PointerId”同じポインターの追加から削除までを識別する番号。
public int PointerId { get; init; }プロパティの値
Section titled “プロパティの値”Position
Section titled “Position”イベント発生位置。単位と原点はイベントを生成した入力領域の座標系に従います。
public Offset Position { get; init; }プロパティの値
Section titled “プロパティの値”Transform
Section titled “Transform”イベントに関連付ける任意の座標変換量。指定しない場合はnullです。
public Matrix3x2? Transform { get; init; }