public static MotionBehaviour <Vector2> Hypocycloid <T1, T2, T3>(this MotionBehaviour <Vector2> self, T1 A, T2 B, float rc, float rm, T3 speed) { self.Add(Movement.Hypocycloid(Syntax.AsEnumerator <float, T1>(A), Syntax.AsEnumerator <float, T2>(B), rc, rm, Syntax.AsEnumerator <float, T3>(speed), self.FrameRate)); return(self); }
public static MotionBehaviour <Vector2> Circular <T1, T2>(this MotionBehaviour <Vector2> self, T1 radius, T2 speed) { self.Add(Movement.Circular(Syntax.AsEnumerator <float, T1>(radius), Syntax.AsEnumerator <float, T2>(speed), self.FrameRate)); return(self); }
public static MotionBehaviour <Vector2> Lissajous <T1, T2, T3, T4>(this MotionBehaviour <Vector2> self, T1 A, T2 B, T3 a, T4 b, float delta) { self.Add(Movement.Lissajous(Syntax.AsEnumerator <float, T1>(A), Syntax.AsEnumerator <float, T2>(B), Syntax.AsEnumerator <float, T3>(a), Syntax.AsEnumerator <float, T4>(b), delta, self.FrameRate)); return(self); }
public static MotionBehaviour <V> Velocity <V, T>(this MotionBehaviour <V> self, T source) { self.Add(Syntax.AsEnumerator <V, T>(source)); return(self); }