Bagikan melalui


SpatialInteractionManager.SourceReleased Kejadian

Definisi

Terjadi ketika tangan, pengontrol gerakan, atau sumber ucapan telah keluar dari status ditekan.

// 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) 

Jenis Acara

Keterangan

Periksa PressKind untuk menentukan sifat rilis.

Berlaku untuk