Struct ARTrackedImagesChangedEventArgs
Event arguments for the trackedImagesChanged event.
Namespace: UnityEngine.XR.ARFoundation
Syntax
public struct ARTrackedImagesChangedEventArgs : IEquatable<ARTrackedImagesChangedEventArgs>
Constructors
ARTrackedImagesChangedEventArgs(List<ARTrackedImage>, List<ARTrackedImage>, List<ARTrackedImage>)
Constructs an ARTrackedImagesChangedEventArgs.
Declaration
public ARTrackedImagesChangedEventArgs(List<ARTrackedImage> added, List<ARTrackedImage> updated, List<ARTrackedImage> removed)
Parameters
Type | Name | Description |
---|---|---|
List<ARTrackedImage> | added | The list of ARTrackedImages added since the last event. |
List<ARTrackedImage> | updated | The list of ARTrackedImages updated since the last event. |
List<ARTrackedImage> | removed | The list of ARTrackedImages removed since the last event. |
Properties
added
The list of ARTrackedImages added since the last event.
Declaration
public List<ARTrackedImage> added { get; }
Property Value
Type | Description |
---|---|
List<ARTrackedImage> |
removed
The list of ARTrackedImages removed since the last event.
Declaration
public List<ARTrackedImage> removed { get; }
Property Value
Type | Description |
---|---|
List<ARTrackedImage> |
updated
The list of ARTrackedImages udpated since the last event.
Declaration
public List<ARTrackedImage> updated { get; }
Property Value
Type | Description |
---|---|
List<ARTrackedImage> |
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(ARTrackedImagesChangedEventArgs)
Tests for equality.
Declaration
public bool Equals(ARTrackedImagesChangedEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARTrackedImagesChangedEventArgs | other | The other ARTrackedImagesChangedEventArgs 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 ARTrackedImagesChangedEventArgs.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string representation of this ARTrackedImagesChangedEventArgs. |
Overrides
Operators
Equality(ARTrackedImagesChangedEventArgs, ARTrackedImagesChangedEventArgs)
Tests for equality. Same as Equals(ARTrackedImagesChangedEventArgs).
Declaration
public static bool operator ==(ARTrackedImagesChangedEventArgs lhs, ARTrackedImagesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARTrackedImagesChangedEventArgs | lhs | The left-hand side of the comparison. |
ARTrackedImagesChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|
Inequality(ARTrackedImagesChangedEventArgs, ARTrackedImagesChangedEventArgs)
Tests for inequality. Same as !
Equals(ARTrackedImagesChangedEventArgs).
Declaration
public static bool operator !=(ARTrackedImagesChangedEventArgs lhs, ARTrackedImagesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARTrackedImagesChangedEventArgs | lhs | The left-hand side of the comparison. |
ARTrackedImagesChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
Boolean |
|