Struct ARPlaneBoundaryChangedEventArgs
Data associated with an boundary
Implements
Inherited Members
Namespace: UnityEngine .XR.ARFoundation
Assembly: Unity.XR.ARFoundation.dll
Syntax
public struct ARPlaneBoundaryChangedEventArgs : IEquatable<ARPlaneBoundaryChangedEventArgs>
Constructors
ARPlaneBoundaryChangedEventArgs(ARPlane)
Constructor for plane changed events.
This is normally only used by the ARPlane component for boundary
Declaration
public ARPlaneBoundaryChangedEventArgs(ARPlane plane)
Parameters
Exceptions
Type | Condition |
---|---|
Argument |
Thrown if |
Properties
plane
The ARPlane which triggered the event.
Declaration
public readonly ARPlane plane { get; }
Property Value
Type | Description |
---|---|
ARPlane |
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(ARPlaneBoundaryChangedEventArgs)
Tests for equality.
Declaration
public bool Equals(ARPlaneBoundaryChangedEventArgs other)
Parameters
Type | Name | Description |
---|---|---|
ARPlane |
other | The other ARPlane |
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 fo this ARPlane
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string representation fo this ARPlane |
Overrides
Operators
operator ==(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)
Tests for equality. Same as Equals(ARPlane
Declaration
public static bool operator ==(ARPlaneBoundaryChangedEventArgs lhs, ARPlaneBoundaryChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARPlane |
lhs | The left-hand side of the comparison. |
ARPlane |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|
operator !=(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)
Tests for inequality. Same as !
Equals(ARPlane
Declaration
public static bool operator !=(ARPlaneBoundaryChangedEventArgs lhs, ARPlaneBoundaryChangedEventArgs rhs)
Parameters
Type | Name | Description |
---|---|---|
ARPlane |
lhs | The left-hand side of the comparison. |
ARPlane |
rhs | The right-hand side of the comparison. |
Returns
Type | Description |
---|---|
bool |
|