Class NearDeviceCriteria

Use this class to describe how anchors to be located should be near the device.

class Microsoft::Azure::SpatialAnchors::NearDeviceCriteria final : public std::enable_shared_from_this<Microsoft::Azure::SpatialAnchors::NearDeviceCriteria>

Properties

DistanceInMeters

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

auto GetDistanceInMeters() const -> float;
auto SetDistanceInMeters(float value) -> void;

MaxResultCount

Maximum desired result count (defaults to 20).

auto GetMaxResultCount() const -> int32_t;
auto SetMaxResultCount(int32_t value) -> void;