WindowsExtensions.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.
Tries to get an active SpatialInteractionSource with the corresponding handedness and input source type.
public:
static Microsoft::Windows::UI::Input::Spatial::SpatialInteractionSource ^ GetSpatialInteractionSource(Microsoft::MixedReality::Toolkit::Utilities::Handedness handedness, Microsoft::MixedReality::Toolkit::Input::InputSourceType inputSourceType);
public static Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource GetSpatialInteractionSource (Microsoft.MixedReality.Toolkit.Utilities.Handedness handedness, Microsoft.MixedReality.Toolkit.Input.InputSourceType inputSourceType);
static member GetSpatialInteractionSource : Microsoft.MixedReality.Toolkit.Utilities.Handedness * Microsoft.MixedReality.Toolkit.Input.InputSourceType -> Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource
Public Function GetSpatialInteractionSource (handedness As Handedness, inputSourceType As InputSourceType) As SpatialInteractionSource
Parameters
- handedness
- Handedness
The handedness of the source to get.
- inputSourceType
- InputSourceType
The input source type of the source to get.
Returns
Microsoft.Windows.UI.Input.Spatial.SpatialInteractionSource
The input source or null if none could be found.