Struct ARPlaneBoundaryChangedEventArgs
Syntax
public struct ARPlaneBoundaryChangedEventArgs : IEquatable<ARPlaneBoundaryChangedEventArgs>
Constructors
ARPlaneBoundaryChangedEventArgs(ARPlane, Vector3, Vector3, List<Vector3>)
Constructor for plane changed events.
This is normally only used by the ARPlane component for boundaryChanged events.
Declaration
public ARPlaneBoundaryChangedEventArgs(ARPlane plane, Vector3 center, Vector3 normal, List<Vector3> convexBoundary)
Parameters
Type |
Name |
Description |
ARPlane |
plane |
The ARPlane that triggered the event.
|
Vector3 |
center |
The center of the plane, in plane-relative space.
|
Vector3 |
normal |
The normal of the plane, in plane-relative space.
|
System.Collections.Generic.List<Vector3> |
convexBoundary |
The convex boundary points, in plane-relative space. This may not be null .
|
Properties
center
The center of the ARPlane, in plane-relative space.
Declaration
public Vector3 center { get; set; }
Property Value
convexBoundary
The boundary points of the ARPlane, in plane-relative space.
Declaration
public List<Vector3> convexBoundary { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<Vector3> |
|
normal
The normal of the ARPlane, in plane-relative space.
Declaration
public Vector3 normal { get; set; }
Property Value
plane
The ARPlane which triggered the event.
Declaration
public ARPlane plane { get; set; }
Property Value
Methods
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
System.ValueType.Equals(System.Object)
Equals(ARPlaneBoundaryChangedEventArgs)
Declaration
public bool Equals(ARPlaneBoundaryChangedEventArgs other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
Overrides
System.ValueType.ToString()
Operators
Equality(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)
Declaration
public static bool operator ==(ARPlaneBoundaryChangedEventArgs lhs, ARPlaneBoundaryChangedEventArgs rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(ARPlaneBoundaryChangedEventArgs, ARPlaneBoundaryChangedEventArgs)
Declaration
public static bool operator !=(ARPlaneBoundaryChangedEventArgs lhs, ARPlaneBoundaryChangedEventArgs rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|