大约有 1,451 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0132 秒)
Laya_社区(932) Laya2.0_文档(177) Laya_示例(132) Laya2.0_示例(115) Laya3.0_api(61) Laya3.0_文档(32) laya_api(1) Laya2.0_api(1)
....width, Laya.Browser.height, Laya.WebGL); var sp = new Laya.Sprite(); Laya.stage.addChild(sp); sp.loadImage("res/img/popular.png", 0, 0, 0, 0, Laya.Handler.create(this, function (a1, a2) { console.log(a1, a2); }), [100]); 为什么不能把Laya.Hander.create后面带的这个参数传到Function...
来源: Laya_社区 发布时间: 20180621
...坐标 path.push(-33, -33);//五角星J点坐标 sp.graphics.drawPoly(Laya.stage.width / 2, Laya.stage.height / 2, path, "#FF7F50"); this.owner.addChild(sp); 代码运行效果如下图所示: (图4-5) 通过上面的示例代码的写法,是不是感觉代码的可读性得到了增强,...
来源: Laya3.0_文档 发布时间: 20251010
...ext=new Laya.Text(); txt.text=""; txt.font="fzy3jw"; txt.fontSize=50; Laya.stage.addChild(txt); })我应该修改哪里? 附件 : --> 2019-04-03 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同...
来源: Laya_社区 发布时间: 20190403
... public function LayaAirDemo() { Laya.init(600,600); sp=new Sprite(); Laya.stage.addChild(sp); endX=0; endY=0; sp.graphics.drawLine(10,10,endX,endY,'#FF0000'); Laya.timer.frameLoop(1,this,onFrameLoop); } private function onFrameLoop():void { endX+=2; endY+=2; sp.graphics.drawLine(10,10,endX,endY,'#F...
来源: Laya_社区 发布时间: 20170418
...ovieClip(); swf.load("data.swf"); swf.on(Event.LOADED,this,onLoaded); Laya.stage.addChild(swf); } private function onLoaded():void { // TODO Auto Generated method stub swf.interval=500; } } } 2016-09-18 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登...
来源: Laya_社区 发布时间: 20160918
...也正常 157*****121 • 2018-04-04 10:50 下载个5.0版本的谷歌,stage.on(Event.ROLL_OVER,this,function(){alert(22});一试便知。。 157*****121 • 2018-04-04 10:50 移动端
来源: Laya_社区 发布时间: 20180404
...ponents customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D left mask mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY scene scene3D s...
来源: Laya3.0_api 发布时间: 20231115
...Scene3D){ //这里打印出_scene不存在。 that._scene3D = _scene; Laya.stage.addChild(_scene); }));
来源: Laya_社区 发布时间: 20201130
...aya.MeshSprite3D(NewMesh); 用这种方式声明一个MeshSprite3D后 Laya.stage.getChildAt(0).addChild(Mesh);加入到测试场景,发现并没有渲染该物体,跟踪调试发现在cull阶段执行 FrustumCulling.renderObjectCulling的时候 var renderElements=baseRender._renderElements;为...
来源: Laya_社区 发布时间: 20180717
...Enable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D left mask max min mouseEnabled mouseX mouseY numChildren parent pivotX pivotY right rotation scaleX scaleY sc...
来源: Laya3.0_api 发布时间: 20231115