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

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

361. laya.components.AnimatorState2D_API3.0 [ 72%]

...te2D Implements IClone Index Properties clipEnd clipStart cycleOffset loop name speed yoyo Accessors clip Methods addScript clone cloneTo destroy event getScript getScripts hasListener off offAll offAllCaller on once Properties clipEnd clipEnd: number = 1 Defined in laya/components/AnimatorState2D.t...

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

362. laya.resource.AtlasResource_API3.0 [ 72%]

...nstructors constructor Properties _id destroyedImmediately dir frames lock name textures url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy even...

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

363. laya.display.Node_API3.0 [ 72%]

...rite Sprite3D Index Constructors constructor Properties _extra _scene _url name tag Accessors active activeInHierarchy components destroyed displayedInStage hideFlags is3D numChildren parent scene timer url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentI...

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

364. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 72%]

...n bundle.write({ file: workSpaceDir + '/bin/js/bundle.js', format: 'iife', name: 'laya', sourcemap: false }); }).catch(err=>{ console.log(err); }) });打开.vscode/launch.json可知道使用的是Debugger for Chrome插件来调试 { "version": "0.2.0", "configurations": [ { "name": "chrome调试"...

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

365. 2.0TS3D物体碰撞,如何获取双方包围盒 [ 72%]

...a.PhysicsComponent): void { console.log("box2_onTriggerStay " + this.owner.name + " "+ other.owner.name); let b1:Laya.BoundBox = this.box.meshRenderer.boundingBox; let box2:Laya.MeshSprite3D = other.owner as Laya.MeshSprite3D; let b2:Laya.BoundBox = box2.meshRenderer.boundingBox; }获取boundingBox...

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

366. laya.d3.component.animator.AnimatorController_API3.0 [ 72%]

...tructors constructor Properties _id clipsID data destroyedImmediately lock name url uuid DEBUG Accessors cpuMemory destroyed gpuMemory id obsolute referenceCount cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event hasList...

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

367. laya.ui.Tree_API3.0 [ 72%]

...port laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Clip("resource/ui/clip_selectBox.png", 1, 2); selectBox.name = "selectBox"; selectBox.height = 24; selectBox.x = 13; selectBox.y = 0; selectBox.left = 1...

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

368. 为什么谷歌浏览器调试可以显示这些文字打包后却没有了 [ 72%]

...(msg:any):void { this.AddChat(msg['from_client_seatsno'], msg['from_client_name'], msg['content']); } private AddChat(seat:number, name:string, txt:string) { let paopao = new ui.langren.room.SayBoardUI(); paopao.x = 10; paopao.lbSayName.text = name; let div:Laya.HTMLDivElement = new Laya.HTMLDivElem...

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

369. ani动画资源更换问题 [ 72%]

..."001.png",“002.png”,“003.png”,"..."],"name"),,,,ani.play("name")大概是这样的,你看下接口就明白了!你也可以使用IDE直接创建ani动画界面,直接拼接也是一样的,这个官网的打飞机示例可以参考下

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

370. JS中List容器里renderHandler和itemHandler渲染器如何使用 [ 72%]

...  var info = cell.dataSource;         var img_icon  = cell.getChildByName("img_icon");//图标         var lab_name  = cell.getChildByName("lab_name");//名称    }   itemHandler一般不用。 2017-08-08 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复...

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