大约有 4,103 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0081 秒)
Laya_社区(3324) Laya2.0_文档(296) Laya_示例(141) Laya2.0_示例(117) Laya3.0_文档(116) Laya3.0_api(94) Laya2.0_api(9) laya_api(6)
...以在项目代码里强制HDR效果。示例代码如下: ```typescript this.camera = new Laya.Camera(0, 0.1, 100); this.camera.enableHDR = false; //关闭HDR ``` 关闭HDR后,抗锯齿生效对比效果如图9-2所示。  (图10-2) #### 2.4 抗锯齿有效,为什么还...
来源: Laya2.0_文档 发布时间: 20210715
...TH' of undefined Wechat Lib:2.0.1, 2018.4.14 12:32:36 code.js:107 Warning!,this class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr....
来源: Laya_社区 发布时间: 20180524
...的canvas区域进行截屏 Laya.stage.on(Event.CLICK,this,onClick); //随意绘制显示对象 sp= new Sprite(); sp.loadImage("logo.png"); Laya.stage.addChild(sp); } ...
来源: Laya_社区 发布时间: 20170424
...IF-JS]sourceHeight = Laya.window.innerHeight; if(stage) { init(); } else { this.addEventListener(Event.ADDED_TO_STAGE,init); } } private function init(e:Event=null):void { textInput=new TextField(); textInput.type=TextFieldType.INPUT; textInput.border=true; textInput.multiline=true; textInput.wordWr...
来源: Laya_社区 发布时间: 20151225
... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...
来源: Laya3.0_api 发布时间: 20231115
... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...
来源: Laya3.0_api 发布时间: 20231115
...ets.push(RES.resources[j]); } } } Laya.loader.load(assets,new Laya.Handler(this,function(arg){ RES.getInstance().event(RES.ONLOADGROUPCOMPLETE,arg); })) } /** * 获取资源 resName 资源名 isAtLas 是否是图集 */ public static getRes(resName:string, isAtLas: boolean = false): any{ var url: str...
来源: Laya_社区 发布时间: 20161011
... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...
来源: Laya3.0_api 发布时间: 20231102
...v/' + env + '/envinfo.json'; Laya.loader.load(envinfo, Laya.Handler.create(this, onEnvDescLoaded, [envinfo, '../../res/threeDimen/env/' + env + '/'])); function onEnvDescLoaded(envinfo, envpath) { var envinfoobj = Laya.loader.getRes(envinfo); var camera = new Laya.Camera(0, 0.1, 1000); if (envinfoob...
来源: Laya_示例 发布时间: 20251223
... showTips1; //带参数的自定义鼠标提示 clip.toolTip = new Handler(this,showTips2, ["clip"]); } private function showTips1():void { _testTips.label.text = "这里是按钮[" + btn1.label + "]"; tip.addChild(_testTips); } private function showTips2(name:String):void { _testTips.label.text = "...
来源: Laya3.0_api 发布时间: 20231115