Struct ARAnchorsChangedEventArgs | AR Foundation | 3.1.10
docs.unity3d.com
    Show / Hide Table of Contents

    Struct ARAnchorsChangedEventArgs

    Event arguments for the anchorsChanged event.

    Namespace: UnityEngine.XR.ARFoundation
    Syntax
    public struct ARAnchorsChangedEventArgs : IEquatable<ARAnchorsChangedEventArgs>

    Constructors

    ARAnchorsChangedEventArgs(List<ARAnchor>, List<ARAnchor>, List<ARAnchor>)

    Constructs an ARAnchorsChangedEventArgs.

    Declaration
    public ARAnchorsChangedEventArgs(List<ARAnchor> added, List<ARAnchor> updated, List<ARAnchor> removed)
    Parameters
    Type Name Description
    List<ARAnchor> added

    The list of ARAnchors added since the last event.

    List<ARAnchor> updated

    The list of ARAnchors updated since the last event.

    List<ARAnchor> removed

    The list of ARAnchors removed since the last event.

    Properties

    added

    The list of ARAnchors added since the last event.

    Declaration
    public List<ARAnchor> added { get; }
    Property Value
    Type Description
    List<ARAnchor>

    removed

    The list of ARAnchors removed since the last event. At the time the event is invoked, the ARAnchors in this list still exist. They are destroyed immediately afterward.

    Declaration
    public List<ARAnchor> removed { get; }
    Property Value
    Type Description
    List<ARAnchor>

    updated

    The list of ARAnchors udpated since the last event.

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

    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(ARAnchorsChangedEventArgs)

    Declaration
    public bool Equals(ARAnchorsChangedEventArgs other)
    Parameters
    Type Name Description
    ARAnchorsChangedEventArgs 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(ARAnchorsChangedEventArgs, ARAnchorsChangedEventArgs)

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

    Inequality(ARAnchorsChangedEventArgs, ARAnchorsChangedEventArgs)

    Declaration
    public static bool operator !=(ARAnchorsChangedEventArgs lhs, ARAnchorsChangedEventArgs rhs)
    Parameters
    Type Name Description
    ARAnchorsChangedEventArgs lhs
    ARAnchorsChangedEventArgs rhs
    Returns
    Type Description
    Boolean
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 23 January 2021