Struct ARReferencePointsChangedEventArgs | AR Foundation | 2.2.0-preview.6
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ARReferencePointsChangedEventArgs

    Event arguments for the referencePointsChanged event.

    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    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 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 List<ARReferencePoint> removed { get; }
    Property Value
    Type Description
    List<ARReferencePoint>

    updated

    The list of ARReferencePoints udpated since the last event.

    Declaration
    public List<ARReferencePoint> updated { get; }
    Property Value
    Type Description
    List<ARReferencePoint>

    Methods

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    ValueType.Equals(Object)

    Equals(ARReferencePointsChangedEventArgs)

    Declaration
    public bool Equals(ARReferencePointsChangedEventArgs other)
    Parameters
    Type Name Description
    ARReferencePointsChangedEventArgs other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    ValueType.ToString()

    Operators

    Equality(ARReferencePointsChangedEventArgs, ARReferencePointsChangedEventArgs)

    Declaration
    public static bool operator ==(ARReferencePointsChangedEventArgs lhs, ARReferencePointsChangedEventArgs rhs)
    Parameters
    Type Name Description
    ARReferencePointsChangedEventArgs lhs
    ARReferencePointsChangedEventArgs rhs
    Returns
    Type Description
    Boolean

    Inequality(ARReferencePointsChangedEventArgs, ARReferencePointsChangedEventArgs)

    Declaration
    public static bool operator !=(ARReferencePointsChangedEventArgs lhs, ARReferencePointsChangedEventArgs rhs)
    Parameters
    Type Name Description
    ARReferencePointsChangedEventArgs lhs
    ARReferencePointsChangedEventArgs rhs
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023