浏览代码

Merge branch 'generic-asset-sources' into h-i

/h-i
Mohsen Kamalzadeh 3 年前
当前提交
e64916d9
共有 2 个文件被更改,包括 5 次插入4 次删除
  1. 8
      com.unity.perception/Runtime/GroundTruth/Labelers/CameraLabeler.cs
  2. 1
      com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/GameObjectOneWayCache.cs

8
com.unity.perception/Runtime/GroundTruth/Labelers/CameraLabeler.cs


sensorHandle = camera.SensorHandle;
Setup();
isInitialized = true;
m_ShowVisualizations = supportsVisualization && perceptionCamera.showVisualizations;
}
catch (Exception)
{

internal void InternalCleanup() => Cleanup();
internal void InternalVisualize() => OnVisualize();
private bool m_ShowVisualizations = false;
bool m_ShowVisualizations;
/// <summary>
/// Turns on/off the labeler's realtime visualization capability. If a labeler does not support realtime

{
get
{
return supportsVisualization && m_ShowVisualizations;
if (!supportsVisualization)
return false;
return perceptionCamera && perceptionCamera.showVisualizations;
}
set
{

1
com.unity.perception/Runtime/Randomization/Randomizers/RandomizerExamples/Utilities/GameObjectOneWayCache.cs


if (indexFound >= 0)
{
ResetObjectState(instantiatedObjectList[indexFound]);
instantiatedObjectList.RemoveAt(indexFound);
m_NumObjectsActive[i]--;
return;
}

正在加载...
取消
保存