コンテンツにスキップ

OverlayIntersection クラス

Tests rays against an overlay surface.

名前空間: FloatSoda.OVR.Overlay
アセンブリ: FloatSoda.OVR.dll

public sealed class OverlayIntersection

object ← OverlayIntersection

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Tests rays against an overlay surface.

public OverlayIntersection(ulong overlayHandle)

overlayHandle ulong

The overlay handle to test.

Computes the nearest intersection between a ray and the overlay.

public OverlayHit? TryIntersect(IntersectionParams intersectionParams)

intersectionParams IntersectionParams

The origin, direction, and tracking universe of the ray.

OverlayHit?

The hit information, or null when the ray misses.