浏览代码

reverted GroundTruthPasses back to the internal interface

/main
sleal-unity 4 年前
当前提交
6dce66f8
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2
      com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/GroundTruthCrossPipelinePass.cs
  2. 6
      com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/GroundTruthPass.cs

2
com.unity.perception/Runtime/GroundTruth/RenderPasses/CrossPipelinePasses/GroundTruthCrossPipelinePass.cs


namespace UnityEngine.Perception.GroundTruth
{
public abstract class GroundTruthCrossPipelinePass : IGroundTruthGenerator
abstract class GroundTruthCrossPipelinePass : IGroundTruthGenerator
{
public Camera targetCamera;

6
com.unity.perception/Runtime/GroundTruth/RenderPasses/HdrpPasses/GroundTruthPass.cs


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);
}
}
}
正在加载...
取消
保存