다음을 통해 공유


SpatialInteractionManager.SourceReleased 이벤트

정의

손, 모션 컨트롤러 또는 음성 원본이 누름 상태를 종료했을 때 발생합니다.

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

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

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

이벤트 유형

설명

PressKind를 검사하여 릴리스의 특성을 확인합니다.

적용 대상