docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class LabelManager

    Manages the registration of Labeling components

    Inheritance
    object
    LabelManager
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: UnityEngine.Perception.GroundTruth
    Assembly: solution.dll
    Syntax
    [DefaultExecutionOrder(1)]
    public class LabelManager

    Properties

    Name Description
    registeredLabels

    Returns the set of registered Labeling components

    singleton

    Returns the active LabeledObjectsManager instance

    Methods

    Name Description
    Activate(IGroundTruthGenerator)

    Activates the given IGroundTruthGenerator. SetupMaterialProperties(MaterialPropertyBlock, Renderer, Labeling, uint) will be called for all MeshRenderer instances under each object containing a Labeling component.

    Deactivate(IGroundTruthGenerator)

    Deactivates the given IGroundTruthGenerator. It will no longer receive calls when Labeling instances are created.

    RegisterPendingLabels()

    Registers all pending labels. Called once per frame during LateUpdate by the PerceptionUpdater.

    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)