SpatialInteractionManager.SourceUpdated Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a hand, motion controller, or speech source has experienced a change to its 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)
Event Type
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for