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

大约有 2,550 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0109 秒)

2421. 模型的功能介绍(ActionScript-3D基础(AS3)-LayaAir3D之模型和网格) [ 45%]

...ndex:int = 0; //.............按钮点击事件 监听 changeMeshButton.on(Event.CLICK, this, function():void{ index++; if (index % 5 === 1 ){ //切换mesh sphere.meshFilter.sharedMesh = box; } else if (index % 5 === 2){ //切换mesh sphere.meshFilter.sharedMesh = capsule; } else if(index % 5 === 3)...

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

2422. lib/arm/liblayaair.so 总是崩溃 [ 45%]

...14 10:57:50.024 3526-3928/? D/WifiProJNI: Received kernel message payload: event 0 08-14 10:57:50.025 3526-3928/? I/QosMonitor: postEventFromNative: msg=100,arg1=0,arg2=9 08-14 10:57:50.025 3526-3928/? W/WifiProJNI: poll before: g_monitor_fd =163 08-14 10:57:50.025 3526-3526/? I/MQoS: rtt=440,tcp_tx...

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

2423. 寻路系统(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 45%]

...界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGri...

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

2424. laya.ui.Button_API3.0 [ 45%]

...th addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce freshLayout fromParentPoint getBounds getChildAt getChildByName getChildIndex getCo...

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

2425. box2d引擎报错问题 [ 45%]

...ation = new Laya.Animation(); ani.loadAnimation("catFly.ani"); ani.on(Laya.Event.COMPLETE, null, recover); function recover(): void { ani.removeSelf(); Laya.Pool.recover("deathEffect", ani); } return ani; } 附件 : --> 2019-10-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

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

2426. layaair1.5.4测试版本ide下调试 报protobuf错误 [ 45%]

...te (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:34766:11) at EventHandler.__proto.runWith (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:1239:42) at ScenceManager.__proto.event (file:///D:/workspace_laya/car_h5_nonet/bin/h5/Main.max.js:1018:29) at ScenceManager.__proto.disp...

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

2427. 加载同一个json文件第一次正常,第二次json文件里面的数据就只有一条了。 [ 45%]

...就存起来了。可以避免这个问题。 Gveden • 2019-08-01 10:49 event回调事件的参数问,参数是个数组,取数组第一个回调给你,第二次的回调直接用的之前的缓存,取了缓存的第一条数据给你

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

2428. laya.d3.core.MeshRenderer [ 45%]

...ya.d3.coreClasspublic class MeshRendererInheritanceMeshRenderer BaseRender EventDispatcher ObjectSubclasses SkinnedMeshRenderer MeshRenderer 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only]...

来源: Laya2.0_api 发布时间: 20190513

2429. 寻路系统(ActionScript-3D基础(AS3)-LayaAir3D之高级应用) [ 45%]

...3D世界的路径数据 ```typescript //监听鼠标抬起 Laya.stage.on(Event.MOUSE_UP, this, function():void { index = 0; //获取每次生成路径 getGridIndex(path[curPathIndex % pointCount].x, path[curPathIndex++ % pointCount].z, startPoint); getGridIndex(path[nextPathIndex % pointCount].x,pat...

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

2430. 3d模型旋转问题 [ 45%]

...问题 有元件支援视频流渲染吗? Image元件读不了资料流 event自定义事件的问题 问题状态 最新活动: 2018-05-24 09:39 浏览: 2945 关注: 2 人 Laya_Aaron • 2018-05-24 10:00 可以加一个定时器,或者做旋转的时候做判断,如果超过限定角度,就...

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