Struct ARReferencePointsChangedEventArgs
Event arguments for the referencePointsChanged event.
Implements
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
[Obsolete("ARReferencePointsChangedEventArgs has been deprecated. Use ARAnchorsChangedEventArgs instead (UnityUpgradable) -> UnityEngine.XR.ARFoundation.ARAnchorsChangedEventArgs", true)]
public struct ARReferencePointsChangedEventArgs : IEquatable<ARReferencePointsChangedEventArgs>
Constructors
ARReferencePointsChangedEventArgs(List<ARReferencePoint>, List<ARReferencePoint>, List<ARReferencePoint>)
Constructs an ARReferencePointsChangedEventArgs.
Declaration
public ARReferencePointsChangedEventArgs(List<ARReferencePoint> added, List<ARReferencePoint> updated, List<ARReferencePoint> removed)
Parameters
| Type | Name | Description |
|---|---|---|
| List<ARReferencePoint> | added | The list of ARReferencePoints added since the last event. |
| List<ARReferencePoint> | updated | The list of ARReferencePoints updated since the last event. |
| List<ARReferencePoint> | removed | The list of ARReferencePoints removed since the last event. |
Properties
added
The list of ARReferencePoints added since the last event.
Declaration
public readonly List<ARReferencePoint> added { get; }
Property Value
| Type | Description |
|---|---|
| List<ARReferencePoint> |
removed
The list of ARReferencePoints removed since the last event. At the time the event is invoked, the ARReferencePoints in this list still exist. They are destroyed immediately afterward.
Declaration
public readonly List<ARReferencePoint> removed { get; }
Property Value
| Type | Description |
|---|---|
| List<ARReferencePoint> |
updated
The list of ARReferencePoints udpated since the last event.
Declaration
public readonly List<ARReferencePoint> updated { get; }
Property Value
| Type | Description |
|---|---|
| List<ARReferencePoint> |
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(ARReferencePointsChangedEventArgs)
Tests for equality.
Declaration
public bool Equals(ARReferencePointsChangedEventArgs other)
Parameters
| Type | Name | Description |
|---|---|---|
| ARReferencePointsChangedEventArgs | other | The other ARReferencePointsChangedEventArgs 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 ARReferencePointsChangedEventArgs.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string representation of this ARReferencePointsChangedEventArgs. |
Overrides
Operators
operator ==(ARReferencePointsChangedEventArgs, ARReferencePointsChangedEventArgs)
Tests for equality. Same as Equals(ARReferencePointsChangedEventArgs).
Declaration
public static bool operator ==(ARReferencePointsChangedEventArgs lhs, ARReferencePointsChangedEventArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| ARReferencePointsChangedEventArgs | lhs | The left-hand side of the comparison. |
| ARReferencePointsChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool |
|
operator !=(ARReferencePointsChangedEventArgs, ARReferencePointsChangedEventArgs)
Tests for inequality. Same as !Equals(ARReferencePointsChangedEventArgs).
Declaration
public static bool operator !=(ARReferencePointsChangedEventArgs lhs, ARReferencePointsChangedEventArgs rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| ARReferencePointsChangedEventArgs | lhs | The left-hand side of the comparison. |
| ARReferencePointsChangedEventArgs | rhs | The right-hand side of the comparison. |
Returns
| Type | Description |
|---|---|
| bool |
|