SceneAnalysisEffect.SceneAnalyzed 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
場景分析完成時引發。 請參閱 SceneAnalyzedEventArgs
// Register
event_token SceneAnalyzed(TypedEventHandler<SceneAnalysisEffect, SceneAnalyzedEventArgs const&> const& handler) const;
// Revoke with event_token
void SceneAnalyzed(event_token const* cookie) const;
// Revoke with event_revoker
SceneAnalysisEffect::SceneAnalyzed_revoker SceneAnalyzed(auto_revoke_t, TypedEventHandler<SceneAnalysisEffect, SceneAnalyzedEventArgs const&> const& handler) const;
public event TypedEventHandler<SceneAnalysisEffect,SceneAnalyzedEventArgs> SceneAnalyzed;
function onSceneAnalyzed(eventArgs) { /* Your code */ }
sceneAnalysisEffect.addEventListener("sceneanalyzed", onSceneAnalyzed);
sceneAnalysisEffect.removeEventListener("sceneanalyzed", onSceneAnalyzed);
- or -
sceneAnalysisEffect.onsceneanalyzed = onSceneAnalyzed;
Public Custom Event SceneAnalyzed As TypedEventHandler(Of SceneAnalysisEffect, SceneAnalyzedEventArgs)