Modifica

Condividi tramite


InteractionSourceExtensions.GetSpatialInteractionSourceState Method

Definition

Gets the current native SpatialInteractionSourceState for this InteractionSource.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Windows::UI::Input::Spatial::SpatialInteractionSourceState ^ GetSpatialInteractionSourceState(UnityEngine::XR::WSA::Input::InteractionSource interactionSource);
public static Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceState GetSpatialInteractionSourceState (this UnityEngine.XR.WSA.Input.InteractionSource interactionSource);
static member GetSpatialInteractionSourceState : UnityEngine.XR.WSA.Input.InteractionSource -> Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceState
<Extension()>
Public Function GetSpatialInteractionSourceState (interactionSource As InteractionSource) As SpatialInteractionSourceState

Parameters

interactionSource
UnityEngine.XR.WSA.Input.InteractionSource

This InteractionSource to search for via the native Windows APIs.

Returns

Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSourceState

The current native SpatialInteractionSourceState.

Applies to