Struct MutableRuntimeReferenceImageLibrary.Enumerator
An enumerator to be used in a foreach statement.
Namespace: UnityEngine.XR.ARSubsystems
Syntax
public struct Enumerator : IEquatable<MutableRuntimeReferenceImageLibrary.Enumerator>
Properties
Current
The current XRReferenceImage.
Declaration
public readonly XRReferenceImage Current { get; }
Property Value
| Type | Description |
|---|---|
| XRReferenceImage |
Methods
Dispose()
Disposes of the enumerator. This method does nothing.
Declaration
public void Dispose()
Equals(Object)
Compares for equality.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | obj | The |
Returns
| Type | Description |
|---|---|
| Boolean |
|
Overrides
Equals(MutableRuntimeReferenceImageLibrary.Enumerator)
Compares for equality.
Declaration
public bool Equals(MutableRuntimeReferenceImageLibrary.Enumerator other)
Parameters
| Type | Name | Description |
|---|---|---|
| MutableRuntimeReferenceImageLibrary.Enumerator | other | The other enumerator to compare against. |
Returns
| Type | Description |
|---|---|
| Boolean |
|
GetHashCode()
Generates a hash code suitable for use in a Dictionary or HashSet.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| Int32 | A hash code of this Enumerator. |
Overrides
MoveNext()
Moves to the next element in the collection.
Declaration
public bool MoveNext()
Returns
| Type | Description |
|---|---|
| Boolean |
|
Operators
Equality(MutableRuntimeReferenceImageLibrary.Enumerator, MutableRuntimeReferenceImageLibrary.Enumerator)
Compares for equality.
Declaration
public static bool operator ==(MutableRuntimeReferenceImageLibrary.Enumerator lhs, MutableRuntimeReferenceImageLibrary.Enumerator rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| MutableRuntimeReferenceImageLibrary.Enumerator | lhs | The left-hand side of the comparison. |
| MutableRuntimeReferenceImageLibrary.Enumerator | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| Boolean | The same as Equals(MutableRuntimeReferenceImageLibrary.Enumerator). |
Inequality(MutableRuntimeReferenceImageLibrary.Enumerator, MutableRuntimeReferenceImageLibrary.Enumerator)
Compares for inequality.
Declaration
public static bool operator !=(MutableRuntimeReferenceImageLibrary.Enumerator lhs, MutableRuntimeReferenceImageLibrary.Enumerator rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| MutableRuntimeReferenceImageLibrary.Enumerator | lhs | The left-hand side of the comparison. |
| MutableRuntimeReferenceImageLibrary.Enumerator | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| Boolean | The negation of Equals(MutableRuntimeReferenceImageLibrary.Enumerator). |