SpatialInteractionManager.SourceDetected 이벤트

정의

새 손, 모션 컨트롤러 또는 음성 원본이 검색되었을 때 발생합니다.

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

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

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

이벤트 유형

적용 대상