Class NearAnchorCriteria

Declaration

struct winrt::Microsoft::Azure::SpatialAnchors::NearAnchorCriteria

Description

Use this class to describe how anchors to be located should be near a source anchor.

Properties

DistanceInMeters

Maximum distance in meters from the source anchor (defaults to 5).

float DistanceInMeters();
void DistanceInMeters(float const& value);

MaxResultCount

Maximum desired result count (defaults to 20).

int32_t MaxResultCount();
void MaxResultCount(int32_t const& value);

SourceAnchor

Source anchor around which nearby anchors should be located.

winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor SourceAnchor();
void SourceAnchor(winrt::Microsoft::Azure::SpatialAnchors::CloudSpatialAnchor const& value);