Struct ARWorldMap
The space-mapping state and set of planes and anchors from
an AR session. This is a wrapper for
ARKit's ARWorldMap.
Note: The ARWorldMap
must be explicitly disposed to avoid leaking native resources.
Inherited Members
Namespace: UnityEngine.XR.ARKit
Assembly: solution.dll
Syntax
public struct ARWorldMap : IDisposable, IEquatable<ARWorldMap>
Properties
Name | Description |
---|---|
valid | Use this to determine whether this |
Methods
Name | Description |
---|---|
Dispose() | Disposes of the world map. This releases the native ARWorldMap resource. |
Equals(object) | Tests for equality. |
Equals(ARWorldMap) | Tests for equality. |
GetHashCode() | Generates a hash suitable for use with containers like |
Serialize(Allocator) | Serialize the |
TryDeserialize(NativeArray<byte>, out ARWorldMap) | Create a new |
Operators
Name | Description |
---|---|
operator ==(ARWorldMap, ARWorldMap) | Tests for equality. Same as Equals(ARWorldMap). |
operator !=(ARWorldMap, ARWorldMap) | Tests for inequality. Same as |