다음을 통해 공유


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 DistanceInMeters() const -> float;
auto DistanceInMeters(float value) -> void;

MaxResultCount

Maximum desired result count (defaults to 20).

auto MaxResultCount() const -> int32_t;
auto MaxResultCount(int32_t value) -> void;