SpatialAnchor.RawCoordinateSystemAdjusted 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當裝置調整錨點的精確位置,以更新 RawCoordinateSystem時發生。
// Register
event_token RawCoordinateSystemAdjusted(TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs const&> const& handler) const;
// Revoke with event_token
void RawCoordinateSystemAdjusted(event_token const* cookie) const;
// Revoke with event_revoker
SpatialAnchor::RawCoordinateSystemAdjusted_revoker RawCoordinateSystemAdjusted(auto_revoke_t, TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialAnchor,SpatialAnchorRawCoordinateSystemAdjustedEventArgs> RawCoordinateSystemAdjusted;
function onRawCoordinateSystemAdjusted(eventArgs) { /* Your code */ }
spatialAnchor.addEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);
spatialAnchor.removeEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);
- or -
spatialAnchor.onrawcoordinatesystemadjusted = onRawCoordinateSystemAdjusted;
Public Custom Event RawCoordinateSystemAdjusted As TypedEventHandler(Of SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs)
事件類型
備註
事件引數包含代表所做的調整的轉換。