|
|
|
|
|
|
|
|
|
|
namespace UnityEngine.Perception.GroundTruth |
|
|
|
{ |
|
|
|
public abstract class GroundTruthPass : CustomPass, IGroundTruthGenerator |
|
|
|
abstract class GroundTruthPass : CustomPass, IGroundTruthGenerator |
|
|
|
{ |
|
|
|
public Camera targetCamera; |
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
if (!m_IsActivated) |
|
|
|
{ |
|
|
|
LabeledObjectsManager.singleton.Activate(this); |
|
|
|
LabelManager.singleton.Activate(this); |
|
|
|
m_IsActivated = true; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
LabeledObjectsManager.singleton.Deactivate(this); |
|
|
|
LabelManager.singleton.Deactivate(this); |
|
|
|
} |
|
|
|
} |
|
|
|
} |