docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct OcclusionMetricEntry

    Occlusion Metric entry struct

    Implements
    IMessageProducer
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEngine.Perception.GroundTruth.Labelers
    Assembly: Unity.Perception.Runtime.dll
    Syntax
    [MovedFrom("UnityEngine.Perception.GroundTruth")]
    public struct OcclusionMetricEntry : IMessageProducer

    Fields

    instanceID

    The unique instance id of the visible object

    Declaration
    public uint instanceID
    Field Value
    Type Description
    uint

    percentInFrame

    The proportion of the object that is not occluded by the camera frame.

    Declaration
    public float percentInFrame
    Field Value
    Type Description
    float

    percentVisible

    The proportion of the object that is visible in the image

    Declaration
    public float percentVisible
    Field Value
    Type Description
    float

    visibilityInFrame

    The unoccluded portion of the part of an object that is in frame.

    Declaration
    public float visibilityInFrame
    Field Value
    Type Description
    float

    Methods

    ToMessage(IMessageBuilder)

    Convert contents int a message.

    Declaration
    public void ToMessage(IMessageBuilder builder)
    Parameters
    Type Name Description
    IMessageBuilder builder

    The message builder that will convert the class's contents into a message

    Implements

    IMessageProducer
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)