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

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

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

...=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

322. [LayaAir2]在使用videoDom创建视频元素后iPad跟iPhone中位置不一样 [ 44%]

...LayaAir3.0引擎,那边实现videoTexture不用自己手动刷新 Laya.timer.frameLoop(1, this, this.updateVideo, [texture2D]); },true); } updateVideo(tempTexture:Laya.Texture2D){ if(this.htmlvideo.video.readyState === this.htmlvideo.video.HAVE_ENOUGH_DATA) { //更新视频纹理 tempTexture.loadI...

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

323. LayaAir下TTF字体的使用方式? [ 44%]

...哈哈"; text.font="hu" text.pos(600,600); Laya.stage.addChild(text); Laya.timer.once(1000,this,onLoop); } private function onLoop():void { var text:Text=new Text(); text.fontSize=40; text.color="#FF00FF"; text.text="嘻嘻嘻嘻嘻"; text.font="hu" Laya.stage.addChild(text); } } }  注意:  首...

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

324. 自定义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_示例 发布时间: 20240930

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

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

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

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

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

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

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

...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

328. 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

329. 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

330. 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