편집

다음을 통해 공유


InteractionSourceExtensions Class

Definition

Extensions for the InteractionSource class to add haptics and expose the renderable model.

public ref class InteractionSourceExtensions abstract sealed
public static class InteractionSourceExtensions
type InteractionSourceExtensions = class
Public Class InteractionSourceExtensions
Public Module InteractionSourceExtensions
Inheritance
InteractionSourceExtensions

Methods

GetSpatialInteractionSource(InteractionSource)

Gets the current native SpatialInteractionSource for this InteractionSource.

GetSpatialInteractionSourceState(InteractionSource)

Gets the current native SpatialInteractionSourceState for this InteractionSource.

StartHaptics(InteractionSource, Single, Single)

Start haptic feedback on the interaction source with the specified intensity and continue for the specified amount of time.

StartHaptics(InteractionSource, Single)

Start haptic feedback on the interaction source with the specified intensity.

StopHaptics(InteractionSource)

Stops haptics feedback on the specified interaction source.

Applies to