Interface

ISimulatorVirtualReality

USI.Core

Simulator-neutral virtual-reality presentation and input state.

public interface ISimulatorVirtualReality

Events

ActiveChanged

public event EventHandler<SimulatorVirtualRealityChangedEventArgs> ActiveChanged

Raised when the provider explicitly reports entry to or exit from virtual-reality presentation.

Methods

TryGetActiveAsync

public Task<USIResult<Boolean>> TryGetActiveAsync()

Gets whether the simulator is currently presenting in virtual reality.

TryGetGroundTeleportActiveAsync

public Task<USIResult<Boolean>> TryGetGroundTeleportActiveAsync()

Gets whether the user is teleporting on the ground outside the aircraft.

TryGetHandTrackingEnabledAsync

public Task<USIResult<Boolean>> TryGetHandTrackingEnabledAsync()

Gets whether hand tracking is enabled.

TryGetLeftHandTrackedAsync

public Task<USIResult<Boolean>> TryGetLeftHandTrackedAsync()

Gets whether the user's left hand is currently tracked.

TryGetMarkerDetectedAsync

public Task<USIResult<Boolean>> TryGetMarkerDetectedAsync()

Gets whether the provider currently has a valid tracked marker pose.

TryGetMarkerTrackingEnabledAsync

public Task<USIResult<Boolean>> TryGetMarkerTrackingEnabledAsync()

Gets whether mixed-reality marker tracking is enabled and supported.

TryGetMarkerVisibleAsync

public Task<USIResult<Boolean>> TryGetMarkerVisibleAsync()

Gets whether the mixed-reality alignment marker is visible.

TryGetMixedRealityModeAsync

public Task<USIResult<VirtualRealityMixedRealityMode>> TryGetMixedRealityModeAsync()

Gets the current mixed-reality passthrough mode.

TryGetMotionControllersActiveAsync

public Task<USIResult<Boolean>> TryGetMotionControllersActiveAsync()

Gets whether motion controllers are currently in use.

TryGetRightHandTrackedAsync

public Task<USIResult<Boolean>> TryGetRightHandTrackedAsync()

Gets whether the user's right hand is currently tracked.

TryGetThreeDimensionalMouseActiveAsync

public Task<USIResult<Boolean>> TryGetThreeDimensionalMouseActiveAsync()

Gets whether the simulator's three-dimensional VR mouse is in use.

TryResetViewAsync

public Task<USIResult> TryResetViewAsync()

Requests a reset of the provider's virtual-reality view.

TrySetActiveAsync

public Task<USIResult> TrySetActiveAsync(bool active)

Explicitly enables or disables virtual-reality presentation.

TrySetHandTrackingEnabledAsync

public Task<USIResult> TrySetHandTrackingEnabledAsync(bool enabled)

Explicitly enables or disables hand tracking.

TrySetMarkerTrackingEnabledAsync

public Task<USIResult> TrySetMarkerTrackingEnabledAsync(bool enabled)

Explicitly enables or disables mixed-reality marker tracking.

TrySetMarkerVisibleAsync

public Task<USIResult> TrySetMarkerVisibleAsync(bool visible)

Explicitly shows or hides the mixed-reality alignment marker.

TrySetMixedRealityModeAsync

public Task<USIResult> TrySetMixedRealityModeAsync(VirtualRealityMixedRealityMode mode)

Explicitly selects the mixed-reality passthrough mode.

TrySetQuickZoomHeldAsync

public Task<USIResult> TrySetQuickZoomHeldAsync(bool held)

Holds or releases the provider's momentary virtual-reality quick-zoom control for this SDK connection.