SpatialStageFrameOfReference.CurrentChanged イベント

定義

ユーザーが現在の空間ステージを変更または再定義したときに発生します。

// Register
static event_token CurrentChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void CurrentChanged(event_token const* cookie) const;

// Revoke with event_revoker
static SpatialStageFrameOfReference::CurrentChanged_revoker CurrentChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> CurrentChanged;
function onCurrentChanged(eventArgs) { /* Your code */ }
Windows.Perception.Spatial.SpatialStageFrameOfReference.addEventListener("currentchanged", onCurrentChanged);
Windows.Perception.Spatial.SpatialStageFrameOfReference.removeEventListener("currentchanged", onCurrentChanged);
- or -
Windows.Perception.Spatial.SpatialStageFrameOfReference.oncurrentchanged = onCurrentChanged;
Public Shared Custom Event CurrentChanged As EventHandler(Of Object) 

イベントの種類

注釈

これが発生したら、 Current プロパティをもう一度調べて、最新のステージ インスタンスを取得します。

適用対象