InteractionSourceExtensions.GetSpatialInteractionSourceState Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.