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

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

331. 求ShuriKenParticle3D用法 [ 44%]

...           let self = this;                 Laya.timer.loop(300, null, function () {                     console.log('8: ' + self.particleSystem.aliveParticleCount);                 });             }         }     } } ...

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

332. 同一类型光源互斥的问题报告 [ 44%]

...=true; //为box模型赋材质 plane.meshRender.material = material2; Laya.timer.loop(10, this, loopfun); function loopfun() { if(!camera || !box){ return; } camera.transform.lookAt(box.transform.position, new Laya.Vector3(0, 1, 0), false); } })(); 纹理图片:     附件 : --> 2018-01-03 添...

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

333. 自定义shader-边缘光照shader [ 43%]

...terial = customMaterial; var rotation = new Laya.Vector3(0, 0.01, 0); Laya.timer.frameLoop(1, null, function () { earth.transform.rotate(rotation, true); }); function initShader() { var attributeMap = { 'a_BoneIndices': Laya.VertexElementUsage.BLENDINDICES0, 'a_BoneWeights': Laya.VertexElementUsage....

来源: Laya_示例 发布时间: 20251209

334. 示例 骨骼动画换装 加不上点击事件 [ 42%]

...n); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, changeSkin); } 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 cuixueying 赞同来自: 为你的mArmatu...

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

335. 3D动画播放时,无法改变自身及子对象的任何属性,动画停止后才可以,是什么原因? [ 42%]

...的帧属性面板不见了 Tween如何实现无限循环改变alpha? Laya.timer.loop()如何停止 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. matter中layasprite怎么改变图片大小? 使用了u3D导出来的粒子,不停的显示移除并销毁其克隆对象...

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

336. laya.display.Text_API3.0 [ 42%]

...ticCache stroke strokeColor templateVars text textHeight textWidth texture timer transform ubb underline underlineColor url valign viewport visible width wordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubb...

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

337. laya.ui.HScrollBar_API3.0 [ 42%]

...zeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance backToNormal bubbleEvent ...

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

338. laya.ui.VScrollBar_API3.0 [ 42%]

...zeGrid skewX skewY skin stage staticCache target texture thumbPercent tick timer toolTip top touchScrollEnable transform url value viewport visible width x y zOrder Methods _initialize _processActive _setSkin addChild addChildAt addChildren addComponent addComponentInstance backToNormal bubbleEvent ...

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

339. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 41%]

...E_SHOWALL; //背景颜色 Laya.stage.bgColor = "#232628"; //帧循环 Laya.timer.frameLoop(1, this, onFrame); this.createTime = 0; function onFrame() { //如果创建对象时间为100帧间隔后 if (this.createTime >= 100) { //每200帧间隔创建30个雪花 for (var i = 0; i 640 + 20 || img1.sca...

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

340. 【简单跑酷--JS版】---Lv.6 终篇 [ 41%]

....MOUSE_UP, this, this.onMouseUp); //创建一个帧循环处理函数 Laya.timer.frameLoop(1, this, this.onLoop); } _proto.onLoop = function(){ // 检测人物是否踩在地板上面了 for(var i = this.mapFloor.numChildren - 1; i > -1; i--){ var floor = this.mapFloor.getChildAt(i); //检测人...

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