コンテンツにスキップ

DeviceTrackedOverlayTransform クラス

Positions an overlay relative to a tracked device.

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

public sealed class DeviceTrackedOverlayTransform : OverlayTransform

object ← OverlayTransform ← DeviceTrackedOverlayTransform

OverlayTransform.Position, OverlayTransform.Rotation, OverlayTransform.Apply(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Positions an overlay relative to a tracked device.

public DeviceTrackedOverlayTransform(ulong overlayHandle)

overlayHandle ulong

The overlay handle to control.

Gets whether the most recent apply was deferred because Target was disconnected.

public bool PendingReapply { get; }

bool

Use this value to decide whether a device-connection event should trigger another Apply.

Gets or sets the logical device to which the overlay is attached.

public TrackedDevice Target { get; set; }

TrackedDevice

Changing the target does not apply the transform until Apply is called.

Writes the current transform to OpenVR.

public override void Apply()