다음을 통해 공유


SpatialInteractionManager.SourceUpdated 이벤트

정의

손, 동작 컨트롤러 또는 음성 원본이 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) 

이벤트 유형

적용 대상