Compartilhar via


SpatialInteractionManager.SourceUpdated Evento

Definição

Ocorre quando uma mão, um controlador de movimento ou uma fonte de fala sofreram uma alteração em seu SpatialInteractionSourceState.

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

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

// Revoke with event_revoker
SpatialInteractionManager::SourceUpdated_revoker SourceUpdated(auto_revoke_t, TypedEventHandler<SpatialInteractionManager, SpatialInteractionSourceEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialInteractionManager,SpatialInteractionSourceEventArgs> SourceUpdated;
function onSourceUpdated(eventArgs) { /* Your code */ }
spatialInteractionManager.addEventListener("sourceupdated", onSourceUpdated);
spatialInteractionManager.removeEventListener("sourceupdated", onSourceUpdated);
- or -
spatialInteractionManager.onsourceupdated = onSourceUpdated;
Public Custom Event SourceUpdated As TypedEventHandler(Of SpatialInteractionManager, SpatialInteractionSourceEventArgs) 

Tipo de evento

Aplica-se a