Struct ARTrackedImagesChangedEventArgs
Event arguments for the trackedImagesChanged event.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
[Obsolete("ARTrackedImagesChangedEventArgs has been deprecated in AR Foundation version 6.0. Use ARTrackablesChangedEventArgs<TTrackable> instead.", false)]
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 readonly List<ARTrackedImage> added { get; }
Property Value
Type | Description |
---|---|
List<ARTrackedImage> |
removed
The list of ARTrackedImages removed since the last event.
Declaration
public readonly List<ARTrackedImage> removed { get; }
Property Value
Type | Description |
---|---|
List<ARTrackedImage> |
updated
The list of ARTrackedImages udpated since the last event.
Declaration
public readonly 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 |
---|---|
bool |
|
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 |
---|---|
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 ARTrackedImagesChangedEventArgs.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ARTrackedImagesChangedEventArgs. |
Overrides
Operators
operator ==(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 |
---|---|
bool |
|
operator !=(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 |
---|---|
bool |
|