animationframe.as

来自「著名的flash 3d引擎 away 3d的源代码」· AS 代码 · 共 38 行

AS
38
字号
package away3d.core.base{    import away3d.core.base.*;		/**	 * Holds information about a single animation frame.	 */    public class AnimationFrame    {    	/**    	 * Frame number.    	 */        public var frame:Number;                /**        * Time from the start of the animation.        */        public var time:uint;                /**        * An optional sort string used to order the animation frames.        */        public var sort:String;    			/**		 * Creates a new <code>AnimationFrame</code> object.		 * 		 * @param	frame		The number of the frame in it's sequence.		 * @param	sort		An optional sort string used to order the animation frames.		 */        public function AnimationFrame(frame:Number, sort:String = null)        {            this.frame = frame;            this.sort = sort;        }    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?