浏览代码

updated variable name again

/main
Steven Leal 4 年前
当前提交
c5e49978
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      com.unity.perception/Runtime/GroundTruth/Labelers/AnimationPoseLabel.cs

4
com.unity.perception/Runtime/GroundTruth/Labelers/AnimationPoseLabel.cs


/// The percentage within the clip that the pose starts, a value from 0 (beginning) to 1 (end)
/// </summary>
[Tooltip("The percentage within the clip that the pose starts, a value from 0 (beginning) to 1 (end)")]
public float startOffsetPercentage;
public float startOffsetPercent;
/// <summary>
/// The label to use for any captures inside of this time period
/// </summary>

var i = 1;
for (i = 1; i < timestamps.Count; i++)
{
if (timestamps[i].startOffsetPercentage > time) break;
if (timestamps[i].startOffsetPercent > time) break;
}
return timestamps[i - 1].poseLabel;

正在加载...
取消
保存