Share via


SpatialAnchor.RawCoordinateSystemAdjusted Événement

Définition

Se produit lorsque l’appareil ajuste l’emplacement précis de l’ancre, ce qui met à jour 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) 

Type d'événement

Remarques

Les arguments d’événement contiennent une transformation représentant l’ajustement effectué.

S’applique à