浏览代码

Updating HDRP ground truth generators for new API

/main
Jon Hogins 5 年前
当前提交
282ad40d
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 2
      com.unity.perception/Runtime/GroundTruth/GroundTruthPass.cs
  2. 2
      com.unity.perception/Runtime/GroundTruth/ObjectCountPass.cs

2
com.unity.perception/Runtime/GroundTruth/GroundTruthPass.cs


public Camera targetCamera;
bool m_IsActivated;
public abstract void SetupMaterialProperties(MaterialPropertyBlock mpb, MeshRenderer meshRenderer, Labeling labeling, uint instanceId);
public abstract void SetupMaterialProperties(MaterialPropertyBlock mpb, Renderer meshRenderer, Labeling labeling, uint instanceId);
protected GroundTruthPass(Camera targetCamera)
{

2
com.unity.perception/Runtime/GroundTruth/ObjectCountPass.cs


{
}
public override void SetupMaterialProperties(MaterialPropertyBlock mpb, MeshRenderer meshRenderer, Labeling labeling, uint instanceId)
public override void SetupMaterialProperties(MaterialPropertyBlock mpb, Renderer meshRenderer, Labeling labeling, uint instanceId)
{
if (!m_InstanceIdToLabelIndexLookup.IsCreated)
{

正在加载...
取消
保存