Share via


SpatialEntity Constructors

Definition

Overloads

SpatialEntity(SpatialAnchor)

Creates a new spatial entity to share the provided spatial anchor.

SpatialEntity(SpatialAnchor, ValueSet)

Creates a new spatial entity to share the provided spatial anchor and metadata.

SpatialEntity(SpatialAnchor)

Creates a new spatial entity to share the provided spatial anchor.

public:
 SpatialEntity(SpatialAnchor ^ spatialAnchor);
 SpatialEntity(SpatialAnchor const& spatialAnchor);
public SpatialEntity(SpatialAnchor spatialAnchor);
function SpatialEntity(spatialAnchor)
Public Sub New (spatialAnchor As SpatialAnchor)

Parameters

spatialAnchor
SpatialAnchor

The spatial anchor to share.

Applies to

SpatialEntity(SpatialAnchor, ValueSet)

Creates a new spatial entity to share the provided spatial anchor and metadata.

public:
 SpatialEntity(SpatialAnchor ^ spatialAnchor, ValueSet ^ propertySet);
 SpatialEntity(SpatialAnchor const& spatialAnchor, ValueSet const& propertySet);
public SpatialEntity(SpatialAnchor spatialAnchor, ValueSet propertySet);
function SpatialEntity(spatialAnchor, propertySet)
Public Sub New (spatialAnchor As SpatialAnchor, propertySet As ValueSet)

Parameters

spatialAnchor
SpatialAnchor

The spatial anchor to share.

propertySet
ValueSet

The metadata to share for this anchor.

Applies to