大约有 451 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0049 秒)
Laya_社区(189) Laya3.0_api(64) Laya2.0_api(60) laya_api(55) Laya2.0_文档(54) Laya3.0_文档(16) Laya_示例(8) Laya2.0_示例(5)
...(); this.chat_lab.pos(2, 2); this.chat_lab.size(495,329); this.rect_sprite.addChild(this.chat_lab); .... //输入了一大堆聊天记录后,内容超过了329px,虽然限高height:329px;并加入了overflow-y:scroll;,但没有出现滚动条而且还漏了。 var str = "<div style='positio...
来源: Laya_社区 发布时间: 20210121
...idth,height); var sp =new BK.Sprite(200,200,tex,0,1,1,1); BK.Director.root.addChild(sp); }else if(openID == openID2){ ... } } BK.MQQ.Account.getHead(openID1, callback); BK.MQQ.Account.getHead(openID2, callback); =============================================================== [b]问题已解决,...
来源: Laya_社区 发布时间: 20180417
...CLICK,this,readnext); //添加到舞台 Laya.stage.addChild(this.bgimg); } function onLoading(progress) { console.log("加载进度: " + Math.floor(progress*100)+"%"); } function onError(err) { co...
来源: Laya_社区 发布时间: 20171024
...as", Handler.create(null, onLoaded)); } function onLoaded() { Laya.stage.addChild(new GolfMainUI()); } 附件 : --> 2018-06-27 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来自: 中心点...
来源: Laya_社区 发布时间: 20180627
...Page.graphics.drawRect(0,0,300,300,"#ffcccc"); //添加到stage Laya.stage.addChild(bgPage); //实例化MonkeyPageUI页面 var monkeyPage:MonkeyPageUI = new MonkeyPageUI(); //为了能够清楚的看到这个页面所在的位置,在此设置设置一个背景色 monkeyPage.graphics.drawRect(0,0,3...
来源: Laya2.0_文档 发布时间: 20210714
...ordWrap x y zOrder Methods _initialize _processActive _setHeight _setWidth addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater changeText clearTimer contains customRender destroy destroyChildren drawToCanvas drawToTexture drawToTexture3D event frameLoop frameOnce ...
来源: Laya3.0_api 发布时间: 20231115
...自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个...
来源: Laya2.0_文档 发布时间: 20210715
...(); test.font=this.mFontName; test.text = "这是一个文本"; Laya.stage.addChild(test); } 2017-08-30 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 Lyr1 相关问题 写个捕鱼游戏练练手 解决跨域...
来源: Laya_社区 发布时间: 20170829
...自定义材质。 ```typescript //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))); //为了更好的表现该自定义shader我们去掉模型旋转,同时给摄影机添加了移动脚本 camera.addComponent(CameraMoveScript); //创建一个...
来源: Laya2.0_文档 发布时间: 20210715
...); this.spe.pos(300, 350); this.spe.setProgress(this.progress); Laya.stage.addChild(this.spe); ----------------------源码-------------------------- import Shader = laya.webgl.shader.Shader; export class coolDownShader extends Shader { /** * 当前着色器的一个...
来源: Laya_社区 发布时间: 20170606