0% found this document useful (0 votes)
49 views27 pages

ARCoreExtensions Namespace  _  Google for Developers

Uploaded by

Ganesh Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views27 pages

ARCoreExtensions Namespace  _  Google for Developers

Uploaded by

Ganesh Sharma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Thanks for tuning in to Google I/O! Watch AR content on-demand


(https://io.google/2024/explore/?utm_source=devsite-
hpp&utm_medium=embedded_marketing&utm_campaign=arcore-svd-2024&utm_content=)
.

ARCoreExtensions

Summary

Enumerations

CameraConfigDepthSensorUsage enum
(#cameraconfigdepthsensorusage){ Type of hardware depth sensor usage for a camera c
RequireAndUse
(#cameraconfigdepthsensorusage_requireanduse) =
0x0001,
DoNotUse
(#cameraconfigdepthsensorusage_donotuse) =
0x0002
}

CameraConfigFacingDirection enum
(#cameraconfigfacingdirection){ Facing direction options for camera config.
Back (#cameraconfigfacingdirection_back) = 0,
Front (#cameraconfigfacingdirection_front) = 1
}

CameraConfigStereoCameraUsage enum
(#cameraconfigstereocamerausage){ Stereo Camera usage options.
RequireAndUse
(#cameraconfigstereocamerausage_requireanduse) =
0x0001,
DoNotUse
(#cameraconfigstereocamerausage_donotuse) =
0x0002
}

CameraConfigTargetFps (#cameraconfigtargetfps){ enum


Target30FPS (#cameraconfigtargetfps_target30fps) The camera frame rate filter for the currently selected
= 0x0001,
Target60FPS (#cameraconfigtargetfps_target60fps)
= 0x0002
}

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 1/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

CloudAnchorMode (#cloudanchormode){ enum


Disabled (#cloudanchormode_disabled) = 0, Describes the desired behavior of the ARCore Cloud A
Enabled (#cloudanchormode_enabled) = 1
}

CloudAnchorState (#cloudanchorstate){ enum


None (#cloudanchorstate_none), Result status of a Cloud Anchor hosting or resolving
TaskInProgress
(#cloudanchorstate_taskinprogress),
Success (#cloudanchorstate_success),
ErrorInternal (#cloudanchorstate_errorinternal),
ErrorNotAuthorized
(#cloudanchorstate_errornotauthorized),
ErrorResourceExhausted
(#cloudanchorstate_errorresourceexhausted),
ErrorHostingDatasetProcessingFailed
(#cloudanchorstate_errorhostingdatasetprocessingfailed)
,
ErrorResolvingCloudIdNotFound
(#cloudanchorstate_errorresolvingcloudidnotfound),
ErrorResolvingPackageTooOld
(#cloudanchorstate_errorresolvingpackagetooold),
ErrorResolvingPackageTooNew
(#cloudanchorstate_errorresolvingpackagetoonew),
ErrorHostingServiceUnavailable
(#cloudanchorstate_errorhostingserviceunavailable)
}

EarthState (#earthstate){ enum


Enabled (#earthstate_enabled) = 0, Describes the current state of Earth localization.
ErrorInternal (#earthstate_errorinternal) = -1,
ErrorGeospatialModeDisabled
(#earthstate_errorgeospatialmodedisabled) = -2,
ErrorNotAuthorized
(#earthstate_errornotauthorized) = -3,
ErrorResourcesExhausted
(#earthstate_errorresourcesexhausted) = -4,
ErrorPackageTooOld
(#earthstate_errorpackagetooold) = -5,
ErrorEarthNotReady
(#earthstate_errorearthnotready) = -100,
ErrorSessionNotReady
(#earthstate_errorsessionnotready) = -101
}

FeatureMapQuality (#featuremapquality){ enum


Insufficient (#featuremapquality_insufficient) = Indicates the quality of feature points seen by ARCore
0, camera Pose.
Sufficient (#featuremapquality_sufficient) = 1,
Good (#featuremapquality_good) = 2
}

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 2/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

FeatureSupported (#featuresupported){ enum


Supported (#featuresupported_supported), Indicates whether a feature or capability is supported
Unknown (#featuresupported_unknown),
Unsupported (#featuresupported_unsupported)
}

GeospatialMode (#geospatialmode){ enum


Disabled (#geospatialmode_disabled) = 0, Describes the desired behavior of the ARCore Geospa
Enabled (#geospatialmode_enabled) = 2
}

PlaybackResult (#playbackresult){ enum


OK (#playbackresult_ok), Results from attempting to set playback dataset filep
SessionNotReady
(#playbackresult_sessionnotready),
ErrorSessionNotPaused
(#playbackresult_errorsessionnotpaused),
ErrorSessionUnsupported
(#playbackresult_errorsessionunsupported),
ErrorPlaybackFailed
(#playbackresult_errorplaybackfailed)
}

PlaybackStatus (#playbackstatus){ enum


None (#playbackstatus_none), Describes the current playback status.
OK (#playbackstatus_ok),
IOError (#playbackstatus_ioerror),
FinishedSuccess
(#playbackstatus_finishedsuccess)
}

PromiseState (#promisestate){ enum


Pending (#promisestate_pending) = 0, Describes state of an async operation.
Cancelled (#promisestate_cancelled) = 1,
Done (#promisestate_done) = 2
}

RecordingResult (#recordingresult){ enum


OK (#recordingresult_ok), Results from recording methods.
SessionNotReady
(#recordingresult_sessionnotready),
ErrorInvalidArgument
(#recordingresult_errorinvalidargument),
ErrorRecordingFailed
(#recordingresult_errorrecordingfailed),
ErrorIllegalState
(#recordingresult_errorillegalstate)
}

RecordingStatus (#recordingstatus){ enum


None (#recordingstatus_none), Describes the current recording status.
OK (#recordingstatus_ok),

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 3/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

IOError (#recordingstatus_ioerror)
}

RooftopAnchorState (#rooftopanchorstate){ enum


None (#rooftopanchorstate_none) = 0, Describes the Rooftop anchor state of an synchronou
Success (#rooftopanchorstate_success) = 1, ARAnchorManagerExtensions.ResolveAnchor
ErrorInternal (#rooftopanchorstate_errorinternal) double, double, double, UnityEngine.Qua
= -1, (/ar/reference/unity-
ErrorNotAuthorized arf/class/Google/XR/ARCoreExtensions/ARAnchorM
(#rooftopanchorstate_errornotauthorized) = -2, .
ErrorUnsupportedLocation
(#rooftopanchorstate_errorunsupportedlocation) = -3
}

SemanticLabel (#semanticlabel){ enum


Unlabeled (#semanticlabel_unlabeled) = 0, Defines the labels the Scene Semantics API is able to
Sky (#semanticlabel_sky) = 1, pixel semantic labels.
Building (#semanticlabel_building) = 2,
Tree (#semanticlabel_tree) = 3,
Road (#semanticlabel_road) = 4,
Sidewalk (#semanticlabel_sidewalk) = 5,
Terrain (#semanticlabel_terrain) = 6,
Structure (#semanticlabel_structure) = 7,
Object (#semanticlabel_object) = 8,
Vehicle (#semanticlabel_vehicle) = 9,
Person (#semanticlabel_person) = 10,
Water (#semanticlabel_water) = 11
}

SemanticMode (#semanticmode){ enum


Disabled (#semanticmode_disabled) = 0, Describes the desired behavior of Scene Semantics.
Enabled (#semanticmode_enabled) = 1
}

StreetscapeGeometryMode enum
(#streetscapegeometrymode){ Describes the desired behavior of the Geospatial Stre
Disabled (#streetscapegeometrymode_disabled) =
0,
Enabled (#streetscapegeometrymode_enabled) = 1
}

StreetscapeGeometryQuality enum
(#streetscapegeometryquality){ Describes the quality of the mesh data.
None (#streetscapegeometryquality_none) = 0,
BuildingLOD1
(#streetscapegeometryquality_buildinglod1) = 1,
BuildingLOD2
(#streetscapegeometryquality_buildinglod2) = 2
}

StreetscapeGeometryType enum
(#streetscapegeometrytype){ Describes the type of a Streetscape Geometry.
Terrain (#streetscapegeometrytype_terrain) = 0,

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 4/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Building (#streetscapegeometrytype_building) = 1
}

TerrainAnchorState (#terrainanchorstate){ enum


None (#terrainanchorstate_none) = 0, Describes the result of a Terrain anchor resolving ope
TaskInProgress
(#terrainanchorstate_taskinprogress) = 1,
Success (#terrainanchorstate_success) = 2,
ErrorInternal (#terrainanchorstate_errorinternal) =
-1,
ErrorNotAuthorized
(#terrainanchorstate_errornotauthorized) = -2,
ErrorUnsupportedLocation
(#terrainanchorstate_errorunsupportedlocation) = -3
}

VpsAvailability (#vpsavailability){ enum


Unknown (#vpsavailability_unknown) = 0, Describes the result of checking VPS availability at sp
Available (#vpsavailability_available) = 1,
Unavailable (#vpsavailability_unavailable) = 2,
ErrorInternal (#vpsavailability_errorinternal) =
-1,
ErrorNetworkConnection
(#vpsavailability_errornetworkconnection) = -2,
ErrorNotAuthorized
(#vpsavailability_errornotauthorized) = -3,
ErrorResourceExhausted
(#vpsavailability_errorresourceexhausted) = -4
}

Classes

Google.XR.ARCoreExtensions.ARAnchorManagerExtensions Extensions to AR Foundation's A


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions)

Google.XR.ARCoreExtensions.ARCloudAnchor The ARCloudAnchor (/ar/refer


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARCloudAnchor) is an ARCore Extensions object

Google.XR.ARCoreExtensions.ARCoreExtensions ARCore Extensions, this script a


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreExtensions)

Google.XR.ARCoreExtensions.ARCoreExtensionsCameraConfigFilter The ARCoreExtensionsCame


(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsCameraConfigFilter)arf/class/Google/XR/ARCoreEx
class is used by the camera ma

Google.XR.ARCoreExtensions.ARCoreExtensionsConfig Holds settings that are used to


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsConfig)

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 5/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Google.XR.ARCoreExtensions.ARCoreRecordingConfig Configuration to record camera


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreRecordingConfig)

Google.XR.ARCoreExtensions.AREarthManager Provides localization in Earth-re


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/AREarthManager)

Google.XR.ARCoreExtensions.ARGeospatialAnchor The ARGeospatialAnchor


(/ar/reference/unity- (/ar/reference/unity-arf/class/G
arf/class/Google/XR/ARCoreExtensions/ARGeospatialAnchor) ARCore Extensions object that p

Google.XR.ARCoreExtensions.ARPlaybackManager Provides access to session play


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARPlaybackManager)

Google.XR.ARCoreExtensions.ARRaycastManagerExtensions Extensions to AR Foundation's A


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARRaycastManagerExtensions)

Google.XR.ARCoreExtensions.ARRecordingManager Provides access to session reco


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARRecordingManager)

Google.XR.ARCoreExtensions.ARSemanticManager Provides access to the Scene S


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager)

Google.XR.ARCoreExtensions.ARStreetscapeGeometry Defines geometry such as terra


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometry)

Google.XR.ARCoreExtensions.ARStreetscapeGeometryManager Provides ARCore Geospatial Str


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometryManager)

Google.XR.ARCoreExtensions.HostCloudAnchorPromise An InterruptiblePromise
(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/HostCloudAnchorPromise) arf/class/Google/XR/ARCoreEx
launched by ARAnchorManage
(/ar/reference/unity-arf/class/G
(/ar/reference/unity-arf/class/G

Google.XR.ARCoreExtensions.HostCloudAnchorResult Result object from HostCloudA


(/ar/reference/unity- (/ar/reference/unity-arf/class/G
arf/class/Google/XR/ARCoreExtensions/HostCloudAnchorResult) containing the hosted Cloud An

Google.XR.ARCoreExtensions.ResolveAnchorOnRooftopPromise An InterruptiblePromise
(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnRooftopPromise) arf/class/Google/XR/ARCoreEx
launched by ARAnchorManage
UnityEngine.Quaternion)
type ResolveAnchorOnRooft

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 6/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(/ar/reference/unity-
arf/class/Google/XR/ARCoreEx
.

Google.XR.ARCoreExtensions.ResolveAnchorOnRooftopResult Contains the result of a Resolv


(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnRooftopResult) arf/class/Google/XR/ARCoreEx
.

Google.XR.ARCoreExtensions.ResolveAnchorOnTerrainPromise An InterruptiblePromise
(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnTerrainPromise) arf/class/Google/XR/ARCoreEx
launched by ARAnchorManage
UnityEngine.Quaternion)
type ResolveAnchorOnTerra
(/ar/reference/unity-
arf/class/Google/XR/ARCoreEx
.

Google.XR.ARCoreExtensions.ResolveAnchorOnTerrainResult Contains the result of a Resolv


(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnTerrainResult) arf/class/Google/XR/ARCoreEx
.

Google.XR.ARCoreExtensions.ResolveCloudAnchorPromise An InterruptiblePromise
(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveCloudAnchorPromise) arf/class/Google/XR/ARCoreEx
launched by ARAnchorManage
(/ar/reference/unity-arf/class/G
ResolveCloudAnchorResul
(/ar/reference/unity-arf/class/G
.

Google.XR.ARCoreExtensions.ResolveCloudAnchorResult Result object from ResolveCl


(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveCloudAnchorResult) arf/class/Google/XR/ARCoreEx
containing the resolved Cloud A

Google.XR.ARCoreExtensions.VersionInfo Provides access to information


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/VersionInfo)

Google.XR.ARCoreExtensions.VpsAvailabilityPromise An InterruptiblePromise
(/ar/reference/unity- (/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/VpsAvailabilityPromise) arf/class/Google/XR/ARCoreEx
launched by AREarthManager
(/ar/reference/unity-arf/class/G
(/ar/reference/unity-arf/names

Google.XR.ARCoreExtensions.XRCameraConfigurationExtensions Extensions to AR Subsystem's X


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/XRCameraConfigurationExtensions)

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 7/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Google.XR.ARCoreExtensions.XRCameraFrameExtensions Extensions to AR Subsystem's X


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/XRCameraFrameExtensions)

Structs

Google.XR.ARCoreExtensions.ARStreetscapeGeometriesChangedEventArgs Event arguments for the


(/ar/reference/unity- (/ar/reference/unity-
arf/struct/Google/XR/ARCoreExtensions/ARStreetscapeGeometriesChangedEventArgs)arf/class/Google/XR/A
event.

Google.XR.ARCoreExtensions.GeospatialPose Describes a specific loc


(/ar/reference/unity-arf/struct/Google/XR/ARCoreExtensions/GeospatialPose)

Google.XR.ARCoreExtensions.Track Definition of a track to r


(/ar/reference/unity-arf/struct/Google/XR/ARCoreExtensions/Track)

Google.XR.ARCoreExtensions.TrackData Data that was recorded


(/ar/reference/unity-arf/struct/Google/XR/ARCoreExtensions/TrackData) (/ar/reference/unity-
arf/struct/Google/XR/A
.

Namespaces

Google.XR.ARCoreExtensions.GeospatialCreator
(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions/GeospatialCreator)

Google.XR.ARCoreExtensions.Internal
(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions/Internal)

Enumerations

CameraConfigDepthSensorUsage

CameraConfigDepthSensorUsage

Type of hardware depth sensor usage for a camera config, such as a time-of-flight (ToF) sensor.

Properties

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 8/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

DoNotUse Indicates that ARCore will not attempt to use a hardware depth sensor, such
as a time-of-flight sensor (or ToF sensor), even if it is present.

Most commonly used to filter camera configurations when the app requires
exclusive access to the hardware depth sensor outside of ARCore, for
example to support 3D mesh reconstruction. Available on all ARCore
supported devices (https://developers.google.com/ar/devices).

RequireAndUse Indicates that a hardware depth sensor, such as a time-of-flight sensor (or
ToF sensor), must be present on the device, and the hardware depth sensor
will be used by ARCore.

Not supported on all devices.

CameraConfigFacingDirection

CameraConfigFacingDirection

Facing direction options for camera config.

Properties

Back Back-facing (world) camera is enabled.

Available on all ARCore supported devices


(https://developers.google.com/ar/devices).

Front Front-facing (selfie) camera is enabled.

See ARCore supported devices (https://developers.google.com/ar/devices)


for available camera configs by device.

To limit distribution of your app to only devices that have a front-facing


camera, use uses-feature
(https://developer.android.com/guide/topics/manifest/uses-feature-
element#camera-hw-features)
with android.hardware.camera.

CameraConfigStereoCameraUsage

CameraConfigStereoCameraUsage

Stereo Camera usage options.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 9/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Properties

DoNotUse ARCore will not attempt to use a stereo camera, even if one is present.

Valid on all ARCore supported devices


(https://developers.google.com/ar/devices).

RequireAndUse A stereo camera is present on the device and will be used by ARCore.

Not available on all ARCore supported devices.

CameraConfigTargetFps

CameraConfigTargetFps

The camera frame rate filter for the currently selected camera.

Properties

Target30FPS Target 30fps camera capture frame rate.

Available on all ARCore supported devices


(https://developers.google.com/ar/devices).

Target60FPS Target 60fps camera capture frame rate.

Increases power consumption and may increase app memory usage.

See the ARCore supported devices


(https://developers.google.com/ar/devices) page for a list of devices that
currently support 60fps.

CloudAnchorMode

CloudAnchorMode

Describes the desired behavior of the ARCore Cloud Anchor API.

The Cloud Anchors API uses feature maps to persist an anchor throughout sessions and across
devices. See the Cloud Anchors developer guide
(https://developers.google.com/ar/develop/unity-arf/cloud-anchors/developer-guide) for more information.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 10/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

The default value is CloudAnchorMode.Disabled


(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#cloudanchormode_disabled). Use
ARCoreExtensionsConfig.CloudAnchorMode
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsConfig#cloudanchormode) to
set the desired mode.

Properties

Disabled The Cloud Anchor API is disabled.

Calling ARAnchorManagerExtensions.HostCloudAnchorAsync(this
ARAnchorManager, ARAnchor, int)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#host
and ARAnchorManagerExtensions.ResolveCloudAnchorAsync(this
ARAnchorManager, string)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#reso
will cause the promise to fail immediately.

This is the default value.

Enabled The Cloud Anchor API is enabled.

ARAnchorManagerExtensions.HostCloudAnchorAsync(this ARAnc
ARAnchor, int)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#host
and ARAnchorManagerExtensions.ResolveCloudAnchorAsync(this
ARAnchorManager, string)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#reso
can be used to host and resolve Cloud Anchors.

Using this mode requires your app to do the following:

On Android: Include the ACCESS_INTERNET


(https://developer.android.com/training/basics/network-ops/connecting)
app's AndroidManifest,

Configure authorization
(https://developers.google.com/ar/develop/unity-arf/cloud-anchors/deve

Use ARCoreExtensionsConfig.CloudAnchorMode
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsConfig#cloudanc
to set this mode.

CloudAnchorState

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 11/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

CloudAnchorState

Result status of a Cloud Anchor hosting or resolving operation.

Properties

ErrorHostingDataset Hosting failed because the server could not successfully process the
ProcessingFailed dataset for the given Cloud Anchor.

The developer should try again after the devices has gathered more data
from the environment.

ErrorHostingService The ARCore API was unreachable.


Unavailable
This can happen because of a number of reasons. The device may be in
airplane mode or does not have a working internet connection. The request
sent to the server could have timed out with no response, there could be a
bad network connection, DNS unavailability, firewall issues, or anything that
could affect the device's ability to connect to the ARCore API.

ErrorInternal A hosting or resolving task for this Cloud Anchor has completed with an
internal error.

The app should not attempt to recover from this error.

ErrorNotAuthorized The app cannot communicate with the ARCore API because of an invalid
authentication.

Check Project Settings > XR


(/ar/reference/unity-
arf/namespace/Google/XR#namespaceGoogle_1_1XR)
Plug-in Management > ARCore Extensions for a valid authentication
strategy.

ErrorResolvingCloudIdNot Resolving failed because the ARCore API could not find the provided Cloud
Found Anchor Id.

ErrorResolving The Cloud Anchor could not be acquired because the ARCore Extensions
PackageTooNew package used to host the Cloud Anchor was older than and incompatible
with the version being used to acquire it.

ErrorResolving The Cloud Anchor could not be resolved because the ARCore Extensions
PackageTooOld package used to host the Cloud Anchor was newer than and incompatible
with the version being used to acquire it.

ErrorResourceExhausted The application has exhausted the request quota alloted to the given API
key.

The developer should request additional quota for the ARCore API for their
API key from the Google

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 12/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(/ar/reference/unity-arf/namespace/Google#namespaceGoogle) Cloud
Developers Console.

None Not a valid value for a Cloud Anchor hosting or resolving operation.

Success A hosting or resolving task for this Cloud Anchor has completed
successfully.

TaskInProgress A hosting or resolving task is in progress for this Cloud Anchor.

Once the task completes in the background, the Cloud Anchor will get a new
state after the next update.

Deprecated. (/ar/reference/unity-arf/deprecated/deprecated) Not returned


by async methods - replaced by PromiseState.Pending
(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#promisestate_pending)
.

EarthState

EarthState

Describes the current state of Earth localization.

When AREarthManager.EarthTrackingState
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/AREarthManager#earthtrackingstate) does not
become UnityEngine.XR.ARSubsystems.TrackingState.Tracking, EarthState
(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#earthstate) may contain the cause of
this failure.

Properties

Enabled Earth localization is enabled, and has not encountered any problems.

Check AREarthManager.EarthTrackingState (/ar/reference/unity-arf/c


Geospatial API can be used.

ErrorEarthNotReady Failed to acquire Earth.

This is returned when the current session is initializing Geospatial functionalit

ErrorGeospatialMode Earth localization has been disabled on this session.


Disabled
All ARGeospatialAnchor
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARGeospatialA
this session will have UnityEngine.XR.ARSubsystems.XRCpuImage

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 13/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/U
UnityEngine.XR.ARSubsystems.TrackingState.None and should be

ErrorInternal Earth localization has encountered an internal error.

The app should not attempt to recover from this error. Please see application

ErrorNotAuthorized The authorization provided by the application is not valid.

The Google (/ar/reference/unity-arf/namespace/Google#namespaceGoog

When using API key authentication, this will happen if the API key in the m
including the current one.

When using keyless authentication, this may happen when no OAuth client
the values used in the Google (/ar/reference/unity-arf/namespace/Google
(/ar/reference/unity-arf/namespace/Google#namespaceGoogle) Play Se
pressure).

ErrorPackageTooOld The package is older than the supported version.

ErrorResourcesExhausted The application has exhausted the quota allotted to the given Google (/ar/refe

The developer should request additional quota (https://cloud.google.com/do


(/ar/reference/unity-arf/namespace/Google#namespaceGoogle) Cloud Cons

ErrorSessionNotReady Failed to find a valid ARCore session.

This is returned when the session is not active or not fully initialized, see Uni
(https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/Un
for details on the state of the session.

FeatureMapQuality

FeatureMapQuality

Indicates the quality of feature points seen by ARCore in the preceding few seconds from a given
camera Pose.

A higher quality indicates that a Cloud Anchor hosted at the current time, with the current set of
recently seen feature points, is generally easier to resolve more accurately. See the Cloud
Anchors developer guide
(https://developers.google.com/ar/develop/unity-arf/cloud-anchors/developer-guide) for more information.

Properties

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 14/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Good The quality of feature points seen from the pose in the preceding few
seconds is likely sufficient for ARCore to successfully resolve a Cloud
Anchor with a high degree of accuracy.

Insufficient The quality of feature points seen from the pose in the preceding few
seconds is low.

This state indicates that ARCore will likely have more difficulty resolving the
Cloud Anchor. Encourage the user to move the device, so that the desired
position of the Cloud Anchor to be hosted is seen from different angles.

Sufficient The quality of feature points seen from the pose in the preceding few
seconds is likely sufficient for ARCore to successfully resolve a Cloud
Anchor, although the accuracy of the resolved pose will likely be reduced.

Encourage the user to move the device, so that the desired position of the
Cloud Anchor to be hosted is seen from different angles.

FeatureSupported

FeatureSupported

Indicates whether a feature or capability is supported on the device.

Properties

Supported The feature or capability is supported.

Unknown Support is unknown.

This could be because support is still being determined.

Unsupported The feature or capability is not supported.

GeospatialMode

GeospatialMode

Describes the desired behavior of the ARCore Geospatial API.

The Geospatial API uses a combination of Google


(/ar/reference/unity-arf/namespace/Google#namespaceGoogle)'s Visual Positioning System

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 15/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(https://docs.microsoft.com/en-us/dotnet/api/System) (VPS) and GPS to determine the geospatial


pose.

The Geospatial API is able to provide the best user experience when it is able to generate high
accuracy poses. However, the Geospatial API can be used anywhere, as long as the device is able
to determine its location, even if the available location information has low accuracy.

In areas with VPS coverage, the Geospatial API is able to generate high accuracy poses.
This can work even where GPS accuracy is low, such as dense urban environments. Under
typical conditions, VPS can be expected to provide positional accuracy typically better than
5 meters and often around 1 meter, and a rotational accuracy of better than 5 degrees. Use
AREarthManager.CheckVpsAvailabilityAsync(double, double)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/AREarthManager#checkvpsavailabilityasync)
to determine if a given location has VPS coverage.

In outdoor environments with few or no overhead obstructions, GPS may be sufficient to


generate high accuracy poses. GPS accuracy may be low in dense urban environments and
indoors.

A small number of ARCore supported devices do not support the Geospatial API. Use
AREarthManager.IsGeospatialModeSupported(GeospatialMode)
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/AREarthManager#isgeospatialmodesupported)
to determine if the current device is supported. Affected devices are also indicated on the ARCore
supported devices page (https://developers.google.com/ar/devices).

When the Geospatial API and the Depth API are enabled, output images from the Depth API will
include terrain and building geometry when in a location with VPS coverage. See the Geospatial
Depth Developer Guide (https://developers.google.com/ar/develop/unity-arf/depth/geospatial-depth) for
more information.

The default value is GeospatialMode.Disabled


(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#cloudanchormode_disabled). Use
ARCoreExtensionsConfig.GeospatialMode
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsConfig#geospatialmode) to
set the desired mode.

Properties

Disabled The Geospatial API is disabled.

When a configuration with Disabled becomes active on the AR session, cur


UnityEngine.XR.ARFoundation.ARAnchorManager, double, doub
UnityEngine.XR.ARSubsystems.TrackingState
(https://docs.unity3d.com/Packages/com.unity.xr.arsubsystems@4.2/api/U
set to UnityEngine.XR.ARSubsystems.TrackingState.None.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 16/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

ARCore Extensions will not request location permissions.

Enabled The Geospatial API is enabled, and AREarthManager


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/AREarthManag
used.

Using this mode requires your app do the following:

On Android, be granted the Android ACCESS_FINE_LOCATION permission


Extensions will request this permission when Geospatial is enabled in ARC

On Android, have enabled Unity's Internet Access permission in Android Pl


(https://docs.unity3d.com/Manual/class-PlayerSettingsAndroid.html).

On iOS, have at least CLAuthorizationStatus authorizedWhenInU


(https://developer.apple.com/documentation/corelocation/clauthorizatio
(https://developer.apple.com/documentation/corelocation/claccuracyaut

Location is tracked only while ARSession is enabled. While it is disabled, AR


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/AREarthManag
UnityEngine.XR.ARSubsystems.TrackingState.None.

For more information, see documentation on the Geospatial API on Google D


(https://developers.google.com/ar/develop/unity-arf/geospatial/developer-g

This mode is not compatible with the CameraFacingDirection.User (se

Not all devices support this mode, use AREarthManager.IsGeospatialM


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/AREarthManag
camera support enabling this mode.

When the Geospatial API and the Depth API are enabled, output images from
VPS coverage. See the Geospatial Depth Developer Guide (https://developers

PlaybackResult

PlaybackResult

Results from attempting to set playback dataset filepath.

Properties

ErrorPlaybackFailed Playback failed.

ErrorSessionNotPaused The session was not paused when setting the playback dataset.

ErrorSessionUnsupported Operation is unsupported with the current session.

OK The request completed successfully.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 17/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

SessionNotReady The call to ARPlaybackManager.SetPlaybackDataset(string)


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARPlaybackManager#setplaybackd
failed because ARCore is currently attempting to resume or pause the sessio

Try calling it again in the next frame. Note:

Resuming session may require several frames to complete.

Pausing session may take up to 10 seconds to pause.

PlaybackStatus

PlaybackStatus

Describes the current playback status.

Properties

FinishedSuccess Playback has finished successfully.

The session is waiting on the final frame of the dataset. To resume a live cam
feed or play another dataset, pause the session, call
ARPlaybackManager.SetPlaybackDataset(string)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARPlaybackManager#setplaybackd
, and resume the session.

IOError Playback has stopped due to an error.

None The session is not playing back a dataset.

OK Playback is in process without issues.

PromiseState

PromiseState

Describes state of an async operation.

Properties

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 18/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Cancelled The operation has been cancelled.

Done The operation is completed and the result is available.

Pending The operation is still pending.

It may still be possible to cancel the operation. The result of the operation
isn't available yet.

RecordingResult

RecordingResult

Results from recording methods.

Properties

ErrorIllegalState When using ARRecordingManager.StartRecording(ARCoreRecordin


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARRecordingM
progress.

When using ARRecordingManager.RecordTrackData(Guid, byte[])


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARRecordingM
RecordingStatus (/ar/reference/unity-arf/namespace/Google/XR/ARCore
RecordingStatus.OK (/ar/reference/unity-arf/namespace/Google/XR/ARC
under excess load for images to be produced. The system should not be unde
should try to record the data again during the next frame.

ErrorInvalidArgument When using ARRecordingManager.StartRecording(ARCoreRecordin


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARRecordingM
ARCoreRecordingConfig
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreRecordingConfig#classGoog
was null or invalid.

When using ARRecordingManager.RecordTrackData(Guid, byte[])


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARRecordingM
given are null or invalid.

ErrorRecordingFailed IO or other general failure.

OK The request completed successfully.

SessionNotReady The call to ARRecordingManager.StartRecording(ARCoreRecording


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARRecordingM
attempting to resume or pause the session.

Try calling it again in the next frame. Note:

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 19/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Resuming session may require several frames to complete.

Pausing session may take up to 10 seconds to pause.

RecordingStatus

RecordingStatus

Describes the current recording status.

Properties

IOError There was an IO error while recording.

None The recorder is not recording.

OK The recorder is recording normally.

RooftopAnchorState

RooftopAnchorState

Describes the Rooftop anchor state of an synchronous operation launched by


ARAnchorManagerExtensions.ResolveAnchorOnRooftopAsync(this ARAnchorManager,
double, double, double, UnityEngine.Quaternion)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARAnchorManagerExtensions#resolveanchoronrooftopasync)
.

Obttained by ResolveAnchorOnRooftopResult.RooftopAnchorState
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ResolveAnchorOnRooftopResult#rooftopanchorstate)
.

Properties

ErrorInternal A resolving task for this Rooftop anchor has completed with an internal
error.

The app should not attempt to recover from this error.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 20/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

ErrorNotAuthorized The app cannot communicate with the ARCore Cloud because of an invalid
authentication.

Check Project Settings > XR


(/ar/reference/unity-arf/namespace/Google/XR#namespaceGoogle_1_1XR)
Plug-in Management > ARCore Extensions for a valid authentication strategy.

ErrorUnsupportedLocation There is no rooftop or terrain information at this location, such as the center
of the ocean.

None Not a valid value for a Rooftop anchor operation.

Success A resolving task for this Rooftop anchor has completed successfully.

SemanticLabel

SemanticLabel

Defines the labels the Scene Semantics API is able to detect and maps human-readable names to
per-pixel semantic labels.

See the Scene Semantics Developer Guide


(https://developers.google.com/ar/develop/unity-arf/scene-semantics) for more information.

Use ARSemanticManager.TryGetSemanticTexture(ref Texture2D)


(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemantictexture) to
obtain an image containing these pixels and
ARSemanticManager.TryGetSemanticConfidenceTexture(ref Texture2D)
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemanticconfidencetexture)
, and ARSemanticManager.GetSemanticLabelFraction(SemanticLabel)
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#getsemanticlabelfraction)
to query what percentage of the image contains these pixels.

Properties

Building Pixels of buildings, including houses, garages, etc.

Includes all structures attached to the building, such as signs, solar panels,
scaffolding, etc.

Object Pixels of general temporary and permanent objects and obstacles, including
street signs, traffic signs, free-standing business signs, billboards, poles,
mailboxes, fire hydrants, street lights, phone booths, bus stop enclosures,
cones, parking meters, animals, etc.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 21/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Person Pixels of humans, including pedestrians and bicycle/motorcycle riders.

Road Pixels of drivable surfaces for vehicles, including paved, unpaved, dirt,
driveways, crosswalks, etc.

Sidewalk Pixels of sidewalks for pedestrians and cyclists, including associated curbs.

Sky Pixels of the open sky, including clouds.

Thin electrical wires in front of the sky are included, but leaves/vegetation
are not included.

Structure Pixels of structures that are not buildings, including fences, guardrails, stand-
alone walls, tunnels, bridges, etc.

Terrain Pixels of walkable vegetation areas, including grass, soil, sand, mountains,
etc.

In contrast, 'tree' specifies non-walkable vegetation, like trees and bushes.

Tree Pixels of non-walkable vegetation, like trees and shrubs.

In contrast, 'terrain' specifies walkable vegetation, like grass.

Unlabeled Pixels with no semantic label available in the API output.

Vehicle Pixels of vehicles, including cars, vans, buses, trucks, motorcycles, bicycles,
trains, etc.

Water Pixels of ground surfaces covered by water, including lakes, rivers, etc.

SemanticMode

SemanticMode

Describes the desired behavior of Scene Semantics.

Scene Semantics uses a machine learning model to label each pixel from the camera feed with a
SemanticLabel (/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#semanticlabel). See
the Scene Semantics Developer Guide
(https://developers.google.com/ar/develop/unity-arf/scene-semantics) for more information.

The Scene Semantics API is currently able to distinguish between outdoor labels specified by
SemanticLabel (/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#semanticlabel). Usage
indoors is currently unsupported and may yield unreliable results.

A small number of ARCore supported devices do not support the Scene Semantics API. Use
ARSemanticManager.IsSemanticModeSupported(SemanticMode)

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 22/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#issemanticmodesupported)
to query for support for Scene Semantics. Affected devices are also indicated on the ARCore
supported devices page (https://developers.google.com/ar/devices).

The default value is SemanticMode.Disabled


(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#cloudanchormode_disabled).

Properties

Disabled The Scene Semantics API is disabled.

Calls to ARSemanticManager.TryGetSemanticTexture(ref Texture


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemant
, ARSemanticManager.TryGetSemanticConfidenceTexture(ref Te
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemant
, and ARSemanticManager.GetSemanticLabelFraction(SemanticLa
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#getsemanticl
will not return valid results.

This is the default mode.

Enabled The Scene Semantics API is enabled.

Calls to ARSemanticManager.TryGetSemanticTexture(ref Texture


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemant
, ARSemanticManager.TryGetSemanticConfidenceTexture(ref Te
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#trygetsemant
, and ARSemanticManager.GetSemanticLabelFraction(SemanticLa
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARSemanticManager#getsemanticl
will return valid results.

StreetscapeGeometryMode

StreetscapeGeometryMode

Describes the desired behavior of the Geospatial Streetscape Geometry API.

The Streetscape Geometry API provides polygon meshes of terrain, buildings, and other
structures in a radius surrounding the device. See the Streetscape Geometry Developer Guide

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 23/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

(https://developers.google.com/ar/develop/unity-arf/geospatial/streetscape-geometry) for additional


information.

When Streetscape Geometry is enabled, ARStreetscapeGeometryManager


(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometryManager#classGoogle_1_1XR_1_1ARCoreExt
ensions_1_1ARStreetscapeGeometryManager)
can be used.

The Streetscape Geometry API requires both StreetscapeGeometryMode


(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#streetscapegeometrymode) to be set to
StreetscapeGeometryMode.Enabled
(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#streetscapegeometrymode_enabled) and
GeospatialMode (/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#geospatialmode) to
be set to GeospatialMode.Enabled
(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#geospatialmode_enabled).

The default value is StreetscapeGeometryMode.Disabled


(/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions#cloudanchormode_disabled). Use
ARCoreExtensionsConfig.StreetscapeGeometryMode
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARCoreExtensionsConfig#streetscapegeometrymode)
to set the desired mode.

Properties

Disabled The Streetscape Geometry API is disabled.

This is the default mode.

Enabled The Streetscape Geometry API is enabled.

ARStreetscapeGeometryManager
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometryManager#c
can be used.

Use ARCoreExtensionsConfig.StreetscapeGeometryMode
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARCoreExtens

StreetscapeGeometryQuality

StreetscapeGeometryQuality

Describes the quality of the mesh data.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 24/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

The values correspond to the levels of detail (LOD) defined by the CityGML 2.0 standard
(https://portal.ogc.org/files/?artifact_id=16675).

Obtained by ARStreetscapeGeometry.quality
(/ar/reference/unity-arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometry#quality).

Properties

BuildingLOD1 The StreetscapeGeometryType.Building


(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#semanticlabel_building)
geometry is the building footprint extruded up to a single flat top.

The building contains empty space above any angled roofs.

BuildingLOD2 The StreetscapeGeometryType.Building


(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#semanticlabel_building)
geometry is the building footprint with rough heightmap.

The geometry will closely follow simple angled roofs. Chimneys and roof
vents on top of roofs will poke outside of the mesh.

None The quality of the geometry is not defined, e.g.

when the StreetscapeGeometryType


(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#streetscapegeometrytype)
is StreetscapeGeometryType.Terrain
(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#semanticlabel_terrain)
.

StreetscapeGeometryType

StreetscapeGeometryType

Describes the type of a Streetscape Geometry.

Obtained by ARStreetscapeGeometry.streetscapeGeometryType
(/ar/reference/unity-
arf/class/Google/XR/ARCoreExtensions/ARStreetscapeGeometry#streetscapegeometrytype)
.

Properties

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 25/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Building This geometry represents a building.

Terrain This geometry represents the ground or floor.

TerrainAnchorState

TerrainAnchorState

Describes the result of a Terrain anchor resolving operation.

Properties

ErrorInternal A resolving task for this Terrain anchor has completed with an internal error.

The app should not attempt to recover from this error.

ErrorNotAuthorized The app cannot communicate with the ARCore Cloud because of an invalid
authentication.

Check Project Settings > XR


(/ar/reference/unity-arf/namespace/Google/XR#namespaceGoogle_1_1XR)
Plug-in Management > ARCore Extensions for a valid authentication strategy.

ErrorUnsupportedLocation There is no terrain info at this location, such as the center of the ocean.

None Not a valid value for a Terrain anchor operation.

Success A resolving task for this Terrain anchor has completed successfully.

TaskInProgress A resolving task is in progress for this Terrain anchor.

Once the task completes in the background, the Terrain anchor will get a new
state after the next update.

Deprecated. (/ar/reference/unity-arf/deprecated/deprecated) Not returned


by async methods. Replaced by PromiseState.Pending
(/ar/reference/unity-
arf/namespace/Google/XR/ARCoreExtensions#promisestate_pending)
.

VpsAvailability

VpsAvailability

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 26/27
30/09/2024, 16:27 ARCoreExtensions Namespace | Google for Developers

Describes the result of checking VPS availability at specific location.

Properties

Available VPS is available at the requested location.

ErrorInternal An internal error occurred while determining availability.

ErrorNetworkConnection The external service could not be reached due to a network connection error.

ErrorNotAuthorized An authorization error occurred when communicating with the Google


(/ar/reference/unity-arf/namespace/Google#namespaceGoogle) Cloud
ARCore API.

See Enable the Geospatial API


(https://developers.google.com/ar/develop/unity-arf/geospatial/enable) for
troubleshooting steps.

ErrorResourceExhausted Too many requests were sent.

Unavailable VPS is not available at the requested location.

Unknown The request to the remote service is not yet completed, so the availability is
not yet known, or the AR Subsystem is not ready yet.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
(https://creativecommons.org/licenses/by/4.0/), and code samples are licensed under the Apache 2.0 License
(https://www.apache.org/licenses/LICENSE-2.0). For details, see the Google Developers Site Policies
(https://developers.google.com/site-policies). Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-08-15 UTC.

https://developers.google.com/ar/reference/unity-arf/namespace/Google/XR/ARCoreExtensions 27/27

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy