Struct AddReferenceImageJobState
Represents the state of an asynchronous "add image job" scheduled by
Schedule
Implements
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public readonly struct AddReferenceImageJobState : IEquatable<AddReferenceImageJobState>
Properties
jobHandle
The Job
Declaration
public JobHandle jobHandle { get; }
Property Value
Type | Description |
---|---|
Job |
status
(Read Only) The status of the add job.
Declaration
public AddReferenceImageJobStatus status { get; }
Property Value
Type | Description |
---|---|
Add |
Methods
AsIntPtr()
Gets the job state as an Int
Declaration
public IntPtr AsIntPtr()
Returns
Type | Description |
---|---|
Int |
Returns this Add |
Equals(object)
Tests for equality.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
object | obj | The |
Returns
Type | Description |
---|---|
bool | Returns |
Overrides
Equals(AddReferenceImageJobState)
Tests for equality.
Declaration
public bool Equals(AddReferenceImageJobState other)
Parameters
Type | Name | Description |
---|---|---|
Add |
other | The other Add |
Returns
Type | Description |
---|---|
bool | Returns |
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | Returns a hash code for this Add |
Overrides
ToString()
Provides a string representation suitable for debug logging.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this Add |
Overrides
Operators
operator ==(AddReferenceImageJobState, AddReferenceImageJobState)
Tests for equality. Same as Equals(Add
Declaration
public static bool operator ==(AddReferenceImageJobState lhs, AddReferenceImageJobState rhs)
Parameters
Type | Name | Description |
---|---|---|
Add |
lhs | The Add |
Add |
rhs | The Add |
Returns
Type | Description |
---|---|
bool | Returns |
explicit operator IntPtr(AddReferenceImageJobState)
Casts this Add
Declaration
public static explicit operator IntPtr(AddReferenceImageJobState state)
Parameters
Type | Name | Description |
---|---|---|
Add |
state | The Add |
Returns
Type | Description |
---|---|
Int |
Returns the Int |
operator !=(AddReferenceImageJobState, AddReferenceImageJobState)
Tests for inequality. This is the negation of Equals(Add
Declaration
public static bool operator !=(AddReferenceImageJobState lhs, AddReferenceImageJobState rhs)
Parameters
Type | Name | Description |
---|---|---|
Add |
lhs | The Add |
Add |
rhs | The Add |
Returns
Type | Description |
---|---|
bool | Returns |