Struct MutableRuntimeReferenceImageLibrary.Enumerator
An enumerator to be used in a foreach
statement.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public struct MutableRuntimeReferenceImageLibrary.Enumerator : IEquatable<MutableRuntimeReferenceImageLibrary.Enumerator>
Properties
Current
The current XRReferenceImage.
Declaration
public 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 |
---|---|
bool |
|
Overrides
Equals(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 |
---|---|
bool |
|
GetHashCode()
Generates a hash code suitable for use in a Dictionary
or HashSet
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code of this Enumerator. |
Overrides
MoveNext()
Moves to the next element in the collection.
Declaration
public bool MoveNext()
Returns
Type | Description |
---|---|
bool |
|
Operators
operator ==(Enumerator, 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 |
---|---|
bool | The same as Equals(Enumerator). |
operator !=(Enumerator, 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 |
---|---|
bool | The negation of Equals(Enumerator). |