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

    Class GroundTruthLabelSetupSystem

    System which notifies the registered IGroundTruthGenerator about Labeling additions.

    Inheritance
    Object
    ComponentSystemBase
    ComponentSystem
    GroundTruthLabelSetupSystem
    Inherited Members
    ComponentSystem.InitEntityQueryCache(Int32)
    ComponentSystem.Update()
    Unity.Entities.ComponentSystem.OnCreateForCompiler()
    ComponentSystem.PostUpdateCommands
    ComponentSystem.Entities
    ComponentSystemBase.OnStartRunning()
    ComponentSystemBase.OnStopRunning()
    ComponentSystemBase.OnDestroy()
    ComponentSystemBase.ShouldRunSystem()
    ComponentSystemBase.GetArchetypeChunkComponentType<T>(Boolean)
    ComponentSystemBase.GetArchetypeChunkComponentTypeDynamic(ComponentType)
    ComponentSystemBase.GetArchetypeChunkBufferType<T>(Boolean)
    ComponentSystemBase.GetArchetypeChunkSharedComponentType<T>()
    ComponentSystemBase.GetArchetypeChunkEntityType()
    ComponentSystemBase.GetComponentDataFromEntity<T>(Boolean)
    ComponentSystemBase.GetBufferFromEntity<T>(Boolean)
    ComponentSystemBase.RequireForUpdate(EntityQuery)
    ComponentSystemBase.RequireSingletonForUpdate<T>()
    ComponentSystemBase.HasSingleton<T>()
    ComponentSystemBase.GetSingleton<T>()
    ComponentSystemBase.SetSingleton<T>(T)
    ComponentSystemBase.GetSingletonEntity<T>()
    ComponentSystemBase.GetEntityQuery(ComponentType[])
    Unity.Entities.ComponentSystemBase.GetEntityQuery(Unity.Collections.NativeArray<Unity.Entities.ComponentType>)
    ComponentSystemBase.GetEntityQuery(EntityQueryDesc[])
    ComponentSystemBase.Enabled
    ComponentSystemBase.EntityQueries
    ComponentSystemBase.GlobalSystemVersion
    ComponentSystemBase.LastSystemVersion
    ComponentSystemBase.EntityManager
    ComponentSystemBase.World
    ComponentSystemBase.Time
    Unity.Entities.ComponentSystemBase.ExecutingSystemType
    Namespace: UnityEngine.Perception.GroundTruth
    Syntax
    public class GroundTruthLabelSetupSystem : ComponentSystem

    Methods

    Activate(IGroundTruthGenerator)

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

    Declaration
    public void Activate(IGroundTruthGenerator generator)
    Parameters
    Type Name Description
    IGroundTruthGenerator generator

    The generator to register

    Deactivate(IGroundTruthGenerator)

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

    Declaration
    public bool Deactivate(IGroundTruthGenerator generator)
    Parameters
    Type Name Description
    IGroundTruthGenerator generator

    The generator to deactivate

    Returns
    Type Description
    Boolean

    True if the was successfully removed. False if was not active.

    OnCreate()

    Declaration
    protected override void OnCreate()
    Overrides
    ComponentSystemBase.OnCreate()

    OnUpdate()

    Declaration
    protected override void OnUpdate()
    Overrides
    ComponentSystem.OnUpdate()
    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