大约有 725 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
Laya_社区(261) Laya2.0_api(166) laya_api(138) Laya_示例(61) Laya2.0_示例(53) Laya2.0_文档(28) Laya3.0_api(9) Laya3.0_文档(9)
...否需要更新。 Transform3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Transform3D(owner:Sprite3D) 创建一个 Transform3D 实例。 Transform3D event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String...
来源: laya_api 发布时间: 20170929
...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.setup(); } setup() { this.buildWorld(); this.createLogger(); } buildWorld() { const Event = Laya.Event; this.createCoralRect(); this.createDeepSkyblueRect(); this.cre...
来源: Laya2.0_示例 发布时间: 20260106
....stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); console.log("debuginfo LayaAir3D constructer start loadres url:", this._sceneURl); Laya.loader.create([{url:this._sceneURl, clas:MyScene}], Laya.Handler.create(this, this.loadComplete)); } private loadComple...
来源: Laya_社区 发布时间: 20180317
... Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Texture(bitmap:Bitmap = null, uv:Array = null) 创建一个 Texture 实例。 Texture create(source:*, x:Number, y:Number, width:Number, height:Number, offsetX:Number = 0,...
来源: laya_api 发布时间: 20170929
....stage.screenMode = Laya.Stage.SCREEN_NONE; //开启统计信息 Laya.Stat.show(); loadRes(); } function loadRes(){ Laya.URL.rootPath = Laya.URL.basePath = 'https://similac.beats-digital.com/'; //加载素材 //预加载所有资源 var resource = [ { url: "res/atlas/game/game.atlas", type: Laya.Loa...
来源: Laya_社区 发布时间: 20180426
...leMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); scene = Laya.stage.addChild(new Scene()) as Scene; scene.ambientColor = new Vector3(1, 1, 1); var camera:Camera = scene.addChild(new Camera(0, 0.1, 100)) as Camera; camera.transform.translate(new Vector3(0, 0.5, 1)); ...
来源: Laya_示例 发布时间: 20260106
...Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; Stat.show(); this.bgColorTweener = new Tween(); this.setup(); } setup() { this.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.renderBg)...
来源: Laya2.0_示例 发布时间: 20260106
...偏差~ 测试主要是因为: Laya.stage.scaleMode = Laya.Stage.SCALE_SHOWALL; 这个缩放模式引起的,这种模式下有什么特别要注意的地方么,构造Ray的时候~import Camera = Laya.Camera; import PhasorSpriter3D = Laya.PhasorSpriter3D; import Ray = Laya.Ray; import RenderSta...
来源: Laya_社区 发布时间: 20180201
... Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Texture(bitmap:Texture2D = null, uv:Array = null, sourceWidth:Number = 0, sourceHeight:Number = 0) 创建一个 Texture 实例。 Texture create(source:Texture2D, x:Number...
来源: Laya2.0_api 发布时间: 20190513
...ad-only] 加载地址。LoaderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By cacheRes(url:String, data:*):void[static] 缓存资源。 Loader clearRes(url:String, forceDispose:Boolean = false):void[static] 清理指定资源地址的缓存。 Loade...
来源: laya_api 发布时间: 20170929