大约有 359 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
Laya_社区(127) Laya3.0_api(62) Laya2.0_api(58) laya_api(54) Laya_示例(25) Laya2.0_示例(17) Laya2.0_文档(9) Laya3.0_文档(7)
... scrollRect sizeGrid skewX skewY skin source stage staticCache tag texture timer toolTip top transform url viewport visible width x y zOrder Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer contains customRender d...
来源: Laya3.0_api 发布时间: 20231102
...e)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQ...
来源: Laya_社区 发布时间: 20180725
...nish(layaMonkey){ this.layaMonkey=this.scene.addChild(layaMonkey); // Laya.timer.frameLoop(1, this, this.onFrameLoop); } onFrameLoop(){ this.layaMonkey.transform.rotate(this.rotation, false); } mouseDown(){ this.point.x = Laya.MouseManager.instance.mouseX; this.point.y = Laya.MouseManager.instance.m...
来源: Laya_社区 发布时间: 20200903
... let self = this; Laya.timer.loop(300, null, function () { console.log('8: ' + self.particleSystem.aliveParticleCount); }); } } } } ...
来源: Laya_社区 发布时间: 20170605
...ect:Laya.Vector3 = new Laya.Vector3(1,1,0); //每10毫秒旋转一次 Laya.timer.loop(10,null,function(){ box.transform.rotate(vect,true,false); }); } } new LayaAir3D(); 附件 : --> 2018-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...
来源: Laya_社区 发布时间: 20180307
...=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
...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
...哈哈"; 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
...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_示例 发布时间: 20260303
...n); mArmature.showSkinByName(mSkinList[0]); play(); //changeSkin(); //Laya.timer.loop(1000, this, changeSkin); } 2017-08-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 10 个回复 cuixueying 赞同来自: 为你的mArmatu...
来源: Laya_社区 发布时间: 20170818