• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 3,517 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0087 秒)

1021. laya.ui.ComboBox_API3.0 [ 68%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

来源: Laya3.0_api 发布时间: 20231115

1022. UI3D只有第一层可以检测到点击事件 [ 68%]

...都可以触发点击事件,但在UI3D中,虽然设置了Enable Hit为true,但只能触发根节点的Button的点击事件 2. BillBoard为true的时候无法设置Sprite3D的scale 附件 : --> LayaProject10.zip 2023-09-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20230911

1023. Laya2.0开放数据域项目,发布微信开发工具预览,出现报错 [ 68%]

...5 12:26 请问具体要怎么操作,是在开放域声明MiniAdpter.init(true,true)吗? 云淡风清 • 2019-01-17 18:35 同問

来源: Laya_社区 发布时间: 20181105

1024. TS项目使用promise解决方案 [ 68%]

...ompilerOptions": { "module": "commonjs", "target": "es5", "noEmitHelpers": true, "importHelpers": true, "sourceMap": false, "lib":[ "es5", "dom", "es2015.promise" ] }, "exclude": [ "node_modules" ] } 其中lib用来支持promise,importHelpers用来支持 async/await功能   编译即可,如果...

来源: Laya_社区 发布时间: 20190520

1025. laya.d3.webxr.core.WebXRCamera_API3.0 [ 67%]

...d3/core/Camera.ts:368 清除标记。 enableRender enableRender: boolean = true Inherited from Camera.enableRender Defined in laya/d3/core/Camera.ts:366 是否允许渲染。 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional tag tag: string I...

来源: Laya3.0_api 发布时间: 20231115

1026. 能不能让LayaFlash支持原生的条件编译 [ 67%]

...)->编译常量(Compiler Constats),写入 CONFIG::cn,false CONFIG::en,true 如图: 2.在代码中写入 CONFIG::cn{     [Embed(source="ui_cn.swf", mimeType="application/octet-stream")]     private const _Ui_SWF:Class;   } CONFIG::en{     [Embed(source="ui_en.swf", mimeType="applica...

来源: Laya_社区 发布时间: 20160323

1027. laya.resource.VideoTexture_API3.0 [ 67%]

...Resource.lock Defined in laya/resource/Resource.ts:95 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:97 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource....

来源: Laya3.0_api 发布时间: 20231102

1028. laya.ui.Image_API3.0 [ 67%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事件检测...

来源: Laya3.0_api 发布时间: 20231115

1029. 2.0版本的子域还需要初始化MiniAdpter吗? [ 67%]

2.0版本的子域还需要初始化MiniAdpter吗? Laya.MiniAdpter.init(true,true); Laya.init(640,1136); 这样初始化,在opendata工程里会报错 Uncaught TypeError: Cannot read property 'init' of undefined at new Main (Main.ts:11) at Object.1../views/Rank (layaMaxUI.ts:1) at o (_prelude.j...

来源: Laya_社区 发布时间: 20181019

1030. 怎么清理掉 Sprite3D 相关的缓存资源, 资源destroy后内存还下降、。 [ 67%]

...           override public function destroy(destroyChild:Boolean = true):void {             if(effect3D != null){                 effect3D.destroy();                 effect3D = null;             }             super.destroy(true);        ...

来源: Laya_社区 发布时间: 20180517