⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 facevo.as

📁 著名的flash 3d引擎 away 3d的源代码
💻 AS
字号:
package away3d.core.utils{	import away3d.containers.*;	import away3d.core.base.*;		import flash.display.BitmapData;	import flash.geom.Matrix;		public class FaceVO	{		public var source:Object3D;		public var view:View3D;		public var mapping:Matrix;				public var width:int;		public var height:int;		public var color:uint;				public var bitmap:BitmapData;				public var cleared:Boolean = true;		public var updated:Boolean = false;		public var invalidated:Boolean = true;		public var backface:Boolean = false;		public var resized:Boolean;				public function FaceVO(source:Object3D= null, view:View3D = null)		{			this.source = source;			this.view = view;		}				public function clear():void		{	        cleared = true;	        updated = true;		}				public function resize(width:Number, height:Number, transparent:Boolean = true):void		{			if (this.width == width && this.height == height)				return;						resized = true;			updated = true;						this.width = width;			this.height = height;			this.color = color;						if (bitmap)				bitmap.dispose();						bitmap = new BitmapData(width, height, transparent, 0);			bitmap.lock();		}	}}

⌨️ 快捷键说明

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