public LineMesh() { path = new GPath(); lineWidth = 2; fillStart = 0; fillEnd = 1; pointDensity = 0.1f; }
static int SetPath(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); FairyGUI.GTweener obj = (FairyGUI.GTweener)ToLua.CheckObject <FairyGUI.GTweener>(L, 1); FairyGUI.GPath arg0 = (FairyGUI.GPath)ToLua.CheckObject <FairyGUI.GPath>(L, 2); FairyGUI.GTweener o = obj.SetPath(arg0); ToLua.PushObject(L, o); return(1); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }
internal void _Init() { _delay = 0; _duration = 0; _breakpoint = -1; _easeType = EaseType.QuadOut; _timeScale = 1; _easePeriod = 0; _easeOvershootOrAmplitude = 1.70158f; _snapping = false; _repeat = 0; _yoyo = false; _valueSize = 0; _started = false; _paused = false; _killed = false; _elapsedTime = 0; _normalizedTime = 0; _ended = 0; _path = null; _smoothStart = Time.frameCount == 1 ? 3 : 1; //刚启动时会有多帧的超时 }
/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public GTweener SetPath(GPath value) { _path = value; return(this); }