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

大约有 3,288 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0071 秒)

541. 如何获取list下单元格的坐标点? [ 80%]

...mouseHandler=new Handler(this,onClick); } private function onClick(e:Event,index:int):void { if(e.type==Event.CLICK) { trace("xy:"+list.getCell(index).x,list.getCell(index).y); } }上面的坐标是相对于list本身的,如果你想取得全局坐标可以通过localToGlobal方法来得到。 201...

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

542. laya.d3.core.particleshuriken.module.SizeOverLifetime_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/SizeOverLifetime" SizeOverLifetime Class SizeOverLifetime SizeOverLifetime 类用于粒子的生命...

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

543. laya.device.media.Media_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/device/media/Media" Media Class Media Media用于捕捉摄像头和麦克风。可以捕捉任意之一,或者同时捕捉两者...

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

544. 摄像机捕捉目标(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 80%]

...t //点击事件 changeActionButton.on(Event.CLICK, this, function():void{ index++; if (index % 3 === 1 ){ //摄像机捕捉模型目标 camera.transform.lookAt(box.transform.position, _up); } else if (index % 3 === 2){ //摄像机捕捉模型目标 camera.transform.lookAt(cylinder.transform.positio...

来源: Laya2.0_文档 发布时间: 20210714

545. 不能import ui [ 80%]

... 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 是因为index.html里边类引用的顺序不对,代码走到ListDemo的时候ui的js文件还没有被引用,所以会报错。你修改下index.html里边类的执行顺序即可 2017-06-25 0 1 分享 微博 QZONE 微信 todhac...

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

546. 摄像机捕捉目标(JavaScript-3D基础(JS)-LayaAir3D之Camera) [ 80%]

...事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.loo...

来源: Laya2.0_文档 发布时间: 20210715

547. 摄像机捕捉目标(TypeScript-3D基础(TS)-LayaAir3D之Camera) [ 80%]

...事件 this.changeActionButton.on(Laya.Event.CLICK, this, function(){ this.index++; if (this.index % 3 === 1 ){ //摄像机捕捉模型目标 this.camera.transform.lookAt(this.box.transform.position, this._up); } else if (this.index % 3 === 2){ //摄像机捕捉模型目标 this.camera.transform.loo...

来源: Laya2.0_文档 发布时间: 20210715

548. 使用layaAirIDE打包APK问题 [ 80%]

...。 apk打包时无论我选择是否是单机版(非单机版已经把index.html和相关资源放到了一个可访问的http服务器了),最终运行都是上面的错误 请问下是哪里我操作的不对吗?应该要怎么处理? 还有问下,如果我想直接在chrome里运行...

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

549. web发布问题 [ 80%]

...并??? 老版本的打包web 会生成一个main.min.js 文件 然后index.html 就只用了这个文件, 如下图 还有  新的版本管理  加载3D模型的时候,新的版本管理会出问题,这个问题会解决吗?,老版本的那个版本管理太尴尬了,每次更新...

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

550. laya.html.XMLUtils_API3.0 [ 80%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/html/XMLUtils" XMLUtils Class XMLUtils Hierarchy XMLUtils Index Methods decodeString encodeString getBool getFloat getInt getString...

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