ControllerPointerSystem クラス
MakeOverlaysInteractiveIfVisible を使わずに、コントローラーレイとオーバーレイの
交差を毎フレーム手動で計算しポインターイベントを生成します。
SteamVR の入力横取りが発生しないため、VRChat の AFK 判定を回避できます。
名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll
public sealed class ControllerPointerSystemobject ← ControllerPointerSystem
継承したメンバー
Section titled “継承したメンバー”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
コンストラクター
Section titled “コンストラクター”ControllerPointerSystem(OverlayIntersection)
Section titled “ControllerPointerSystem(OverlayIntersection)”MakeOverlaysInteractiveIfVisible を使わずに、コントローラーレイとオーバーレイの
交差を毎フレーム手動で計算しポインターイベントを生成します。
SteamVR の入力横取りが発生しないため、VRChat の AFK 判定を回避できます。
public ControllerPointerSystem(OverlayIntersection intersection)パラメーター
Section titled “パラメーター”intersection OverlayIntersection
The overlay intersection service used for ray casting.
Poll(TrackedDevice, ETrackingUniverseOrigin)
Section titled “Poll(TrackedDevice, ETrackingUniverseOrigin)”指定コントローラーのレイをオーバーレイに向けて交差判定を行い、 ヒットした場合は UV 座標とフェーズを持つ PointerData を返します。 ヒットしない場合は null を返します。
public PointerData? Poll(TrackedDevice device, ETrackingUniverseOrigin trackingOrigin = ETrackingUniverseOrigin.TrackingUniverseStanding)パラメーター
Section titled “パラメーター”device TrackedDevice
The logical controller to poll.
trackingOrigin ETrackingUniverseOrigin
The tracking universe used for the pose and intersection ray.
Pointer data for a hit, or null when the device is unavailable or the ray misses.