コード例 #1
0
ファイル: CCCatmullRomTo.cs プロジェクト: lonag/cocos-u3d
        /** creates an action with a Cardinal Spline array of points and tension */
        public static CCCatmullRomTo create(float dt, CCPointArray points)
        {
            CCCatmullRomTo ret = new CCCatmullRomTo();

            ret.initWithDuration(dt, points);
            return(ret);
        }
コード例 #2
0
ファイル: CCCatmullRomTo.cs プロジェクト: lonag/cocos-u3d
 /** creates an action with a Cardinal Spline array of points and tension
  * @deprecated: This interface will be deprecated sooner or later.
  */
 public static CCCatmullRomTo actionWithDuration(float dt, CCPointArray points)
 {
     return(CCCatmullRomTo.create(dt, points));
 }