Struct ARPointCloudChangedEventArgs
Event arguments for the point
Implements
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
[Obsolete("ARPointCloudChangedEventArgs has been deprecated in AR Foundation version 6.0. Use ARTrackablesChangedEventArgs<TTrackable> instead.", false)]
public struct ARPointCloudChangedEventArgs : IEquatable<ARPointCloudChangedEventArgs>
Constructors
ARPointCloudChangedEventArgs(List<ARPointCloud>, List<ARPointCloud>, List<ARPointCloud>)
Constructs an ARPoint
Declaration
public ARPointCloudChangedEventArgs(List<ARPointCloud> added, List<ARPointCloud> updated, List<ARPointCloud> removed)
Parameters
Type | Name | Description |
---|---|---|
List<ARPoint |
added | The list of ARPoint |
List<ARPoint |
updated | The list of ARPoint |
List<ARPoint |
removed | The list of ARPoint |
Properties
added
The list of ARPoint
Declaration
public readonly List<ARPointCloud> added { get; }
Property Value
Type | Description |
---|---|
List<ARPoint |
removed
The list of ARPoint
Declaration
public readonly List<ARPointCloud> removed { get; }
Property Value
Type | Description |
---|---|
List<ARPoint |
updated
The list of ARPoint
Declaration
public readonly List<ARPointCloud> updated { get; }
Property Value
Type | Description |
---|---|
List<ARPoint |
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(ARPointCloudChangedEventArgs)
Tests for equality.
Declaration
public bool Equals(ARPointCloudChangedEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARPoint |
other | The other ARPoint |
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 ARPoint
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation of this ARPoint |
Overrides
Operators
operator ==(ARPointCloudChangedEventArgs, ARPointCloudChangedEventArgs)
Tests for equality. Same as Equals(ARPoint
Declaration
public static bool operator ==(ARPointCloudChangedEventArgs lhs, ARPointCloudChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARPoint |
lhs | The left-hand side of the comparison. |
ARPoint |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(ARPointCloudChangedEventArgs, ARPointCloudChangedEventArgs)
Tests for inequality. Same as !
Equals(ARPoint
Declaration
public static bool operator !=(ARPointCloudChangedEventArgs lhs, ARPointCloudChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARPoint |
lhs | The left-hand side of the comparison. |
ARPoint |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|