SpatialEntityWatcher.Updated 이벤트

정의

기존 공간 엔터티에 참가자가 업데이트한 메타데이터가 있을 때 발생하는 이벤트입니다.

// Register
event_token Updated(TypedEventHandler<SpatialEntityWatcher, SpatialEntityUpdatedEventArgs const&> const& handler) const;

// Revoke with event_token
void Updated(event_token const* cookie) const;

// Revoke with event_revoker
SpatialEntityWatcher::Updated_revoker Updated(auto_revoke_t, TypedEventHandler<SpatialEntityWatcher, SpatialEntityUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<SpatialEntityWatcher,SpatialEntityUpdatedEventArgs> Updated;
function onUpdated(eventArgs) { /* Your code */ }
spatialEntityWatcher.addEventListener("updated", onUpdated);
spatialEntityWatcher.removeEventListener("updated", onUpdated);
- or -
spatialEntityWatcher.onupdated = onUpdated;
Public Custom Event Updated As TypedEventHandler(Of SpatialEntityWatcher, SpatialEntityUpdatedEventArgs) 

이벤트 유형

설명

디바이스가 환경에 대해 자세히 알아볼 때 발생하는 공간 앵커의 위치에 대한 조정은 이 업데이트된 이벤트로 표현되지 않습니다. 앱은 로컬 앵커에 필요한 것처럼 각 프레임의 앵커 좌표계 변경에 반응해야 합니다.

적용 대상