Aracılığıyla paylaş


Windows.Perception.Spatial Namespace

Contains classes for reasoning about the spatial relationships within the user's surroundings.

Classes

SpatialAnchor

Represents a coordinate system that is strongly anchored to a point in the user's surroundings.

SpatialAnchorExporter

Allows apps to export spatial anchors for sharing and relocalization across devices, so that both devices can reason about the same locations in their users' surroundings.

SpatialAnchorExportSufficiency

Represents information about whether a spatial anchor's data is sufficient for sharing or relocalization.

SpatialAnchorManager

Static methods for getting the spatial anchor store for the current app.

SpatialAnchorRawCoordinateSystemAdjustedEventArgs

Provides data for the SpatialAnchor.RawCoordinateSystemAdjusted event.

SpatialAnchorStore

Represents a collection of SpatialAnchor objects stored by Windows on behalf of an app.

SpatialAnchorTransferManager

Static methods for transferring spatial anchors between devices, so that both devices can reason about the same locations in their users' surroundings.

SpatialBoundingVolume

Represents a bounding volume of some kind in the user's surroundings, for example, a box, oriented box, sphere or frustum.

SpatialCoordinateSystem

Represents a coordinate system used to reason about the user's surroundings.

SpatialEntity

Represents a physical location in the user's surroundings and its metadata, which an app intends to share with other devices.

SpatialEntityAddedEventArgs

Event data for spatial entity added events.

SpatialEntityRemovedEventArgs

Event data for spatial entity removed events.

SpatialEntityStore

Represents a shared pool of spatial entities, synchronized automatically among the participants in a remote session.

SpatialEntityUpdatedEventArgs

Event data for spatial entity updated events.

SpatialEntityWatcher

Monitors changes to the set of entities that participants add, update, or remove within a spatial entity store, and provides notifications when that set changes.

SpatialLocation

Represents the location of the device in the user's surroundings at a point in time.

SpatialLocator

Provides access to the location of a device that's tracked relative to the user's surroundings, such as a HoloLens or other Mixed Reality headset.

SpatialLocatorAttachedFrameOfReference

Represents a frame of reference that is positionally attached to the device.

SpatialLocatorPositionalTrackingDeactivatingEventArgs

Provides data for the SpatialLocator.PositionalTrackingDeactivating event.

SpatialStageFrameOfReference

Represents a spatial stage, defined by the user to establish the physical space in which they intend to use a Mixed Reality headset.

SpatialStationaryFrameOfReference

Represents a frame of reference that remains stationary relative to the user's surroundings at a point in time.

Structs

SpatialBoundingBox

An axis-aligned bounding box in the user's surroundings, with coordinates expressed in meters.

SpatialBoundingFrustum

A bounding frustum in the user's surroundings defined as a set of 6 planes, with coordinates expressed in meters.

SpatialBoundingOrientedBox

An oriented bounding box in the user's surroundings, with coordinates expressed in meters.

SpatialBoundingSphere

A bounding sphere in the user's surroundings, with coordinates expressed in meters.

SpatialRay

A ray in the user's surroundings, with coordinates expressed in meters.

Enums

SpatialAnchorExportPurpose

Specifies the purpose of a given spatial anchor export, sharing or relocalization.

SpatialEntityWatcherStatus

Describes the state of a SpatialEntityWatcher object.

SpatialLocatability

Indicates the lifecycle state of the device's spatial location system. This lets an app know whether it can reason about the device's orientation or its position in the user's surroundings.

SpatialLookDirectionRange

The extent to which the user can look around with their headset.

SpatialMovementRange

The extent to which the user can move while wearing their headset.

SpatialPerceptionAccessStatus

This enumeration describes an app's ability to see the user's surroundings in ways that require the spatialPerception capability. This includes use of either SpatialSurfaceObserver or SpatialAnchorTransferManager.

See also