SpatialAnchor.RawCoordinateSystemAdjusted SpatialAnchor.RawCoordinateSystemAdjusted SpatialAnchor.RawCoordinateSystemAdjusted SpatialAnchor.RawCoordinateSystemAdjusted SpatialAnchor.RawCoordinateSystemAdjusted Event

Definition

Occurs when the device adjusts the anchor's precise location, which updates the RawCoordinateSystem.

public : event TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs> RawCoordinateSystemAdjusted
// Register
event_token RawCoordinateSystemAdjusted(TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const;

// Revoke with event_token
void RawCoordinateSystemAdjusted(event_token const& cookie) const;

// Revoke with event_revoker
RawCoordinateSystemAdjusted_revoker RawCoordinateSystemAdjusted(auto_revoke_t, TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const;
public event TypedEventHandler<SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs> RawCoordinateSystemAdjusted
Public Event RawCoordinateSystemAdjusted As TypedEventHandler (Of SpatialAnchor, SpatialAnchorRawCoordinateSystemAdjustedEventArgs)
function onRawCoordinateSystemAdjusted(eventArgs){/* Your code */}


spatialAnchor.addEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);
spatialAnchor.removeEventListener("rawcoordinatesystemadjusted", onRawCoordinateSystemAdjusted);

Remarks

The event arguments contain a transform representing the adjustment that was made.