Struct EgoHandle | Perception | 0.5.0-preview.1
docs.unity3d.com
    Show / Hide Table of Contents

    Struct EgoHandle

    An ego, which is used to group multiple sensors under a single frame of reference.

    Inherited Members
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public struct EgoHandle : IEquatable<EgoHandle>

    Fields

    Description

    A human-readable description of this ego.

    Declaration
    public readonly string Description
    Field Value
    Type Description
    String

    Id

    The ID for this ego. This ID will be used to refer to this ego in the json metadata.

    Declaration
    public readonly Guid Id
    Field Value
    Type Description
    Guid

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

    Declaration
    public bool Equals(EgoHandle other)
    Parameters
    Type Name Description
    EgoHandle other
    Returns
    Type Description
    Boolean
    Implements
    IEquatable<T>.Equals(T)

    GetHashCode()

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

    Operators

    Equality(EgoHandle, EgoHandle)

    Compares two EgoHandle instances for equality.

    Declaration
    public static bool operator ==(EgoHandle left, EgoHandle right)
    Parameters
    Type Name Description
    EgoHandle left

    The first EgoHandle.

    EgoHandle right

    The second EgoHandle.

    Returns
    Type Description
    Boolean

    Returns true if the two EgoHandles refer to the same ego.

    Inequality(EgoHandle, EgoHandle)

    Compares two EgoHandle instances for inequality.

    Declaration
    public static bool operator !=(EgoHandle left, EgoHandle right)
    Parameters
    Type Name Description
    EgoHandle left

    The first EgoHandle.

    EgoHandle right

    The second EgoHandle.

    Returns
    Type Description
    Boolean

    Returns true if the two EgoHandles refer to the same ego.

    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