SpatialInteractionManager.SourceReleased SpatialInteractionManager.SourceReleased SpatialInteractionManager.SourceReleased SpatialInteractionManager.SourceReleased SpatialInteractionManager.SourceReleased Event

Definition

Occurs when a hand, motion controller, or speech source has exited a pressed state.

public : event TypedEventHandler<SpatialInteractionManager, SpatialInteractionSourceEventArgs> SourceReleased
// Register
event_token SourceReleased(TypedEventHandler<SpatialInteractionManager, SpatialInteractionSourceEventArgs> const& handler) const;

// Revoke with event_token
void SourceReleased(event_token const& cookie) const;

// Revoke with event_revoker
SourceReleased_revoker SourceReleased(auto_revoke_t, TypedEventHandler<SpatialInteractionManager, SpatialInteractionSourceEventArgs> const& handler) const;
public event TypedEventHandler<SpatialInteractionManager, SpatialInteractionSourceEventArgs> SourceReleased
Public Event SourceReleased As TypedEventHandler (Of SpatialInteractionManager, SpatialInteractionSourceEventArgs)
function onSourceReleased(eventArgs){/* Your code */}


spatialInteractionManager.addEventListener("sourcereleased", onSourceReleased);
spatialInteractionManager.removeEventListener("sourcereleased", onSourceReleased);

Remarks

Inspect the PressKind to determine the nature of the release.