Struct ARMeshesChangedEventArgs
Event arguments for the meshesChanged event.
Inherited Members
Namespace: UnityEngine.XR.ARFoundation
Syntax
public struct ARMeshesChangedEventArgs : IEquatable<ARMeshesChangedEventArgs>
Constructors
ARMeshesChangedEventArgs(List<MeshFilter>, List<MeshFilter>, List<MeshFilter>)
Constructs an ARMeshesChangedEventArgs.
Declaration
public ARMeshesChangedEventArgs(List<MeshFilter> added, List<MeshFilter> updated, List<MeshFilter> removed)
Parameters
Type | Name | Description |
---|---|---|
List<UnityEngine.MeshFilter> | added | The list of |
List<UnityEngine.MeshFilter> | updated | The list of |
List<UnityEngine.MeshFilter> | removed | The list of |
Properties
added
The list of MeshFilter
s added since the last event.
Declaration
public List<MeshFilter> added { readonly get; }
Property Value
Type | Description |
---|---|
List<UnityEngine.MeshFilter> |
removed
The list of MeshFilter
s removed since the last event.
Declaration
public List<MeshFilter> removed { readonly get; }
Property Value
Type | Description |
---|---|
List<UnityEngine.MeshFilter> |
updated
The list of MeshFilter
s udpated since the last event.
Declaration
public List<MeshFilter> updated { readonly get; }
Property Value
Type | Description |
---|---|
List<UnityEngine.MeshFilter> |
Methods
Equals(Object)
IEquatable
interface.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
Object | obj | The object to compare for equality. |
Returns
Type | Description |
---|---|
Boolean |
|
Overrides
Equals(ARMeshesChangedEventArgs)
Compares other
for equality.
Declaration
public bool Equals(ARMeshesChangedEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARMeshesChangedEventArgs | other | The ARMeshesChangedEventArgs to compare for equality. |
Returns
Type | Description |
---|---|
Boolean |
|
Implements
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 struct, including the number of added, updated, and removed meshes.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String | A string representation of this struct. |
Overrides
Operators
Equality(ARMeshesChangedEventArgs, ARMeshesChangedEventArgs)
Compares for equality. Same as Equals(ARMeshesChangedEventArgs).
Declaration
public static bool operator ==(ARMeshesChangedEventArgs lhs, ARMeshesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARMeshesChangedEventArgs | lhs | The first ARMeshesChangedEventArgs to compare. |
ARMeshesChangedEventArgs | rhs | The second ARMeshesChangedEventArgs to compare. |
Returns
Type | Description |
---|---|
Boolean | The same value as Equals(ARMeshesChangedEventArgs) |
Inequality(ARMeshesChangedEventArgs, ARMeshesChangedEventArgs)
Compares for inequality. Same as !
Equals(ARMeshesChangedEventArgs).
Declaration
public static bool operator !=(ARMeshesChangedEventArgs lhs, ARMeshesChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARMeshesChangedEventArgs | lhs | The first ARMeshesChangedEventArgs to compare. |
ARMeshesChangedEventArgs | rhs | The second ARMeshesChangedEventArgs to compare. |
Returns
Type | Description |
---|---|
Boolean | The same value as |