(self)
return
Reset the time when the current motion clip is changed to a new one.
Reset the time when the current motion clip is changed to a new one.
Reset the time when the current motion clip is changed to a new one .
def _reset_clip_change_time(self):
    """Reset the time when the current motion clip is changed to a new one."""
    if np.isfinite(self._clip_time_min) and np.isfinite(self._clip_time_max):
      clip_dur = self._rand_uniform(self._clip_time_min, self._clip_time_max)
      time = self._get_motion_time()
      change_time = time + clip_dur
    else:
      change_time = np.inf

    self._clip_change_time = change_time

    return
def _reset_clip_change_time ( self ) : if np . isfinite ( self . _clip_time_min ) and np . isfinite ( self . _clip_time_max ) : clip_dur = self . _rand_uniform ( self . _clip_time_min , self . _clip_time_max ) time = self . _get_motion_time ( ) change_time = time + clip_dur else : change_time = np . inf self . _clip_change_time = change_time return