Struct ARFacesChangedEventArgs
Event arguments for the facesChanged event.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public struct ARFacesChangedEventArgs : IEquatable<ARFacesChangedEventArgs>
Constructors
ARFacesChangedEventArgs(List<ARFace>, List<ARFace>, List<ARFace>)
Constructs an ARFacesChangedEventArgs.
Declaration
public ARFacesChangedEventArgs(List<ARFace> added, List<ARFace> updated, List<ARFace> removed)
Parameters
Type | Name | Description |
---|---|---|
List<ARFace> | added | The list of ARFaces added since the last event. |
List<ARFace> | updated | The list of ARFaces updated since the last event. |
List<ARFace> | removed | The list of ARFaces removed since the last event. |
Properties
added
The list of ARFaces added since the last event.
Declaration
public readonly List<ARFace> added { get; }
Property Value
Type | Description |
---|---|
List<ARFace> |
removed
The list of ARFaces removed since the last event.
Declaration
public readonly List<ARFace> removed { get; }
Property Value
Type | Description |
---|---|
List<ARFace> |
updated
The list of ARFaces updated since the last event.
Declaration
public readonly List<ARFace> updated { get; }
Property Value
Type | Description |
---|---|
List<ARFace> |
Methods
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(ARFacesChangedEventArgs)
Tests for equality.
Declaration
public bool Equals(ARFacesChangedEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARFacesChangedEventArgs | other | The other ARFacesChangedEventArgs to compare against. |
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
ToString()
Generates a string representation of this ARFacesChangedEventArgs.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ARFacesChangedEventArgs. |
Overrides
Operators
operator ==(ARFacesChangedEventArgs, ARFacesChangedEventArgs)
Tests for equality. Same as Equals(ARFacesChangedEventArgs).
Declaration
public static bool operator ==(ARFacesChangedEventArgs lhs, ARFacesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARFacesChangedEventArgs | lhs | The left-hand side of the comparison. |
ARFacesChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(ARFacesChangedEventArgs, ARFacesChangedEventArgs)
Tests for inequality. Same as !
Equals(ARFacesChangedEventArgs).
Declaration
public static bool operator !=(ARFacesChangedEventArgs lhs, ARFacesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARFacesChangedEventArgs | lhs | The left-hand side of the comparison. |
ARFacesChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|