// ================================================================================ // Input Sockets and Node Parameters // ================================================================================ // // Parameter Attributes are applied below in Resume() public void Begin(Vector3 startValue, Vector3 endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, bool smooth, int loopCount, out Vector3 currentValue) { m_Lerper.Set(time, loopType, loopDelay, smooth, loopCount); m_Start = startValue; m_LastValue = startValue; m_End = endValue; m_Began = true; currentValue = startValue; }
// ================================================================================ // Input Sockets and Node Parameters // ================================================================================ // // Parameter Attributes are applied below in Resume() public void Begin(int startValue, int endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, int loopCount, out int currentValue) { m_Lerper.Set(time, loopType, loopDelay, false, loopCount); m_Start = startValue; m_LastValue = startValue; m_End = endValue; m_Began = true; currentValue = startValue; }
// ================================================================================ // Input Sockets and Node Parameters // ================================================================================ // // Parameter Attributes are applied below in Resume() public void Begin(Quaternion startValue, Quaternion endValue, float time, uScript_Lerper.LoopType loopType, float loopDelay, int loopCount, out Quaternion currentValue) { m_Lerper.Set(time, loopType, loopDelay, loopCount); m_Start = startValue; m_End = endValue; m_LastValue = startValue; m_Began = true; currentValue = startValue; }