Share via


SpatialEntityStore 클래스

정의

원격 세션의 참가자 간에 자동으로 동기화되는 공간 엔터티의 공유 풀을 나타냅니다.

public ref class SpatialEntityStore sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SpatialEntityStore final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SpatialEntityStore
Public NotInheritable Class SpatialEntityStore
상속
Object Platform::Object IInspectable SpatialEntityStore
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 Creators Update (10.0.15063.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v4.0에서 도입되었습니다.)

설명

중요

디바이스 간에 공간 앵커를 동기화하는 SpatialEntityStore 접근 방식은 현재 지원되지 않습니다. 대신 Azure Spatial Anchors를 사용하는 것이 좋습니다.

속성

IsSupported

이 시스템에서 공간 엔터티 공유가 지원되는지 여부를 가져옵니다.

메서드

CreateEntityWatcher()

참가자가 스토어에서 엔터티를 추가, 업데이트 또는 제거할 때 앱에서 관찰할 수 있는 감시자를 가져옵니다.

RemoveAsync(SpatialEntity)

모든 참가자에 대한 저장소에서 공간 엔터티를 제거합니다.

SaveAsync(SpatialEntity)

새 엔터티 또는 업데이트된 공간 엔터티를 저장소에 저장하여 모든 참가자와 동기화합니다.

TryGet(RemoteSystemSession)

원격 세션에 대해 자동으로 동기화된 공간 엔터티 풀을 설정하거나 검색합니다.

적용 대상