Struct ARFacesChangedEventArgs
Event arguments for the facesChanged event.
Namespace: UnityEngine.XR.ARFoundation
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 List<ARFace> added { get; }
Property Value
Type | Description |
---|---|
List<ARFace> |
removed
The list of ARFaces removed since the last event.
Declaration
public List<ARFace> removed { get; }
Property Value
Type | Description |
---|---|
List<ARFace> |
updated
The list of ARFaces updated since the last event.
Declaration
public 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 |
---|---|
Boolean |
|
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 |
---|---|
Boolean |
|
GetHashCode()
Generates a hash suitable for use with containers like HashSet
and Dictionary
.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
Int32 | 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
Equality(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 |
---|---|
Boolean |
|
Inequality(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 |
---|---|
Boolean |
|