InteractionSourceExtensions.GetSpatialInteractionSource 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 SpatialInteractionSource for this InteractionSource.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Windows::UI::Input::Spatial::SpatialInteractionSource ^ GetSpatialInteractionSource(UnityEngine::XR::WSA::Input::InteractionSource interactionSource);
public static Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource GetSpatialInteractionSource (this UnityEngine.XR.WSA.Input.InteractionSource interactionSource);
static member GetSpatialInteractionSource : UnityEngine.XR.WSA.Input.InteractionSource -> Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource
<Extension()>
Public Function GetSpatialInteractionSource (interactionSource As InteractionSource) As SpatialInteractionSource
Parameters
- interactionSource
- UnityEngine.XR.WSA.Input.InteractionSource
The InteractionSource to search for via the native Windows APIs.
Returns
Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource
The current native SpatialInteractionSource.