Struct ARWorldMapRequest
Represents an asynchronous world map request.
Use this to determine the status of the request
and get the ARWorld
Inherited Members
Namespace: UnityEngine .XR.ARKit
Assembly: Unity.XR.ARKit.dll
Syntax
public struct ARWorldMapRequest : IDisposable, IEquatable<ARWorldMapRequest>
Properties
status
Get the status of the request.
Declaration
public ARWorldMapRequestStatus status { get; }
Property Value
Type | Description |
---|---|
ARWorld |
Methods
Dispose()
Dispose of the request. You must dispose of the request to avoid leaking resources.
Declaration
public void Dispose()
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool |
|
Overrides
Equals(ARWorldMapRequest)
Tests for equality.
Declaration
public bool Equals(ARWorldMapRequest other)
Parameters
Type | Name | Description |
---|---|---|
ARWorld |
other | The other ARWorld |
Returns
Type | Description |
---|---|
bool |
|
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code generated from this object's fields. |
Overrides
GetWorldMap()
Retrieve the ARWorld
Declaration
public ARWorldMap GetWorldMap()
Returns
Type | Description |
---|---|
ARWorld |
An ARWorld |
Operators
operator ==(ARWorldMapRequest, ARWorldMapRequest)
Tests for equality. Same as Equals(ARWorld
Declaration
public static bool operator ==(ARWorldMapRequest lhs, ARWorldMapRequest rhs)
Parameters
Type | Name | Description |
---|---|---|
ARWorld |
lhs | The left-hand side of the comparison. |
ARWorld |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(ARWorldMapRequest, ARWorldMapRequest)
Tests for inequality. Same as !
Equals(ARWorld
Declaration
public static bool operator !=(ARWorldMapRequest lhs, ARWorldMapRequest rhs)
Parameters
Type | Name | Description |
---|---|---|
ARWorld |
lhs | The left-hand side of the comparison. |
ARWorld |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|