ARCoreExtensionsConfig

Holds settings that are used to configure the ARCore Extensions.

Summary

Inheritance

Inherits from: UnityEngine::ScriptableObject

Public attributes

CloudAnchorMode = CloudAnchorMode.Disabled
Gets or sets the CloudAnchorMode to use.
GeospatialMode = GeospatialMode.Disabled
Choose the Geospatial API mode, allowing the use of AREarthManager.
SemanticMode = SemanticMode.Disabled
Choose which semantic mode to use in the session.
StreetscapeGeometryMode = StreetscapeGeometryMode.Disabled
Describes the desired behavior of the Geospatial Streetscape Geometry API.

Properties

EnableCloudAnchors
bool
Deprecated. Please use CloudAnchorMode instead.
Gets or sets a value indicating whether the Cloud Anchors are enabled.

Public functions

CopyFrom(ARCoreExtensionsConfig otherConfig)
void
ValueType copy from another ARCoreExtensionsConfig object into this one.
Equals(object other)
override bool
ValueType check if two ARCoreExtensionsConfig objects are equal.
GetHashCode()
override int
Return a hash code for this object.
GetSemanticModeHelpInfo()
HelpAttribute
Reflection function used by 'DynamicHelp' for property 'SemanticMode'.

Public attributes

CloudAnchorMode

CloudAnchorMode CloudAnchorMode = CloudAnchorMode.Disabled

Gets or sets the CloudAnchorMode to use.

GeospatialMode

GeospatialMode GeospatialMode = GeospatialMode.Disabled

Choose the Geospatial API mode, allowing the use of AREarthManager.

SemanticMode

SemanticMode SemanticMode = SemanticMode.Disabled

Choose which semantic mode to use in the session.

StreetscapeGeometryMode

StreetscapeGeometryMode StreetscapeGeometryMode = StreetscapeGeometryMode.Disabled

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 for additional information.

When Streetscape Geometry is enabled, ARStreetscapeGeometryManager can be used.

The Streetscape Geometry API requires both StreetscapeGeometryMode to be set to StreetscapeGeometryMode.Enabled and GeospatialMode to be set to GeospatialMode.Enabled.

Properties

EnableCloudAnchors

bool EnableCloudAnchors

Gets or sets a value indicating whether the Cloud Anchors are enabled.

Deprecated. Please use CloudAnchorMode instead.

Public functions

CopyFrom

void CopyFrom(
  ARCoreExtensionsConfig otherConfig
)

ValueType copy from another ARCoreExtensionsConfig object into this one.

Details
Parameters
otherConfig
The ARCoreExtensionsConfig to copy from.

Equals

override bool Equals(
  object other
)

ValueType check if two ARCoreExtensionsConfig objects are equal.

Details
Parameters
other
Returns
True if the two ARCoreExtensionsConfig objects are value-type equal, otherwise false.

GetHashCode

override int GetHashCode()

Return a hash code for this object.

Details
Returns
A hash code value.

GetSemanticModeHelpInfo

HelpAttribute GetSemanticModeHelpInfo()

Reflection function used by 'DynamicHelp' for property 'SemanticMode'.

Details
Returns
The help attribute of semantic mode information.