SpatialInteractionManager.SourceUpdated SpatialInteractionManager.SourceUpdated SpatialInteractionManager.SourceUpdated SpatialInteractionManager.SourceUpdated SpatialInteractionManager.SourceUpdated Event

Definition

Occurs when a hand, motion controller, or speech source has experienced a change to its SpatialInteractionSourceState.

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

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

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


spatialInteractionManager.addEventListener("sourceupdated", onSourceUpdated);
spatialInteractionManager.removeEventListener("sourceupdated", onSourceUpdated);