Compartir a través de


SpatialInteractionManager.SourceUpdated Evento

Definición

Se produce cuando una mano, un controlador de movimiento o un origen de voz ha experimentado un cambio en 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

Se aplica a