GLFWRawPointerSource クラス
GLFW ウィンドウのマウス入力を RawPointerEvent に変換する入力源。 イベントは GLFW をポンプしているスレッド(レンダースレッド)で発火します。
名前空間: FloatSoda.Engine
アセンブリ: FloatSoda.Engine.dll
public sealed class GLFWRawPointerSource : IRawPointerSource, IDisposable実装するインターフェイス
Section titled “実装するインターフェイス”IRawPointerSource, IDisposable
継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
コンストラクター
Section titled “コンストラクター”GLFWRawPointerSource(Window*)
Section titled “GLFWRawPointerSource(Window*)”指定した GLFW ウィンドウへマウスコールバックを登録します。
public GLFWRawPointerSource(Window* handle)パラメーター
Section titled “パラメーター”handle Window*
入力を監視する GLFW ウィンドウのネイティブハンドル。
handle が null の場合にスローされます。
Dispose()
Section titled “Dispose()”GLFW ウィンドウから登録済みのマウスコールバックを解除します。
public void Dispose()OnPointerEvent
Section titled “OnPointerEvent”生ポインタイベントの通知。
public event Action<RawPointerEvent>? OnPointerEventイベントの型
Section titled “イベントの型”Action<RawPointerEvent>?