大约有 1,107 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0053 秒)
Laya_社区(584) Laya3.0_api(207) Laya2.0_文档(82) Laya_示例(59) laya_api(46) Laya3.0_文档(44) Laya2.0_api(44) Laya2.0_示例(41)
...法 像这样 给一个 返回值,就重现bug 崩溃了.. +(NSString *)bgColor:(NSString*)color { NSString *str = @"hahahahahaha"; NSDictionary *dict = @ { @"code" : @(1), @"msg": @"获取成功", @"data": @ { @"level": @(0.9...
来源: Laya_社区 发布时间: 20201209
...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatrix.setForward(new Vector3(1, -1, 0)); //添加自定义模型 var box:MeshSprite3D = scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1))) as ...
来源: Laya2.0_文档 发布时间: 20210714
...编辑器查看效果,控制台输出新的错误了,生命周期除了Color Over Lifetime其他3个随便启动一个都会报错。Uncaught TypeError: Cannot read properties of null (reading '_elements') at localhost:18090/libs/laya.particle.js:1220 1743381626用户 • 2025-04-02 12:59 启动...
来源: Laya_社区 发布时间: 20250401
...-js-3-4-1 //初始化引擎Laya.init(600, 400, Laya.WebGL);Laya.stage.bgColor = "#ffcccc";var data = "data:image/svg+xml," + '<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200">' +'<foreignObject width="100%" height="100%">' +'<div xmlns="http://www.w3.org/1999/xhtml"...
来源: Laya_社区 发布时间: 20190306
... lineHeight: 98*0.45, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, ...
来源: Laya_社区 发布时间: 20190109
...; _txt.fontSize = 18; _txt.color="#000000"; _txt.text="是时晋武之世,寺庙图像,虽崇京邑,而方等深经,藴在葱外。护乃慨然发愤,志弘大道。遂随师至西域,游历诸国,外国异言三...
来源: Laya_社区 发布时间: 20180131
...le: { left: 10, top: 76, width: 200, height: 40, lineHeight: 40, backgroundColor: '#ff0000', color: '#ffffff', textAlign: 'center', fontSize: 16, borderRadius: 4 } }) 这种利用微信接口创建的按钮对象赋值给button 的怎么弄 __JS__('wx').createUserInfoButton({}) 可以这样写 前...
来源: Laya_社区 发布时间: 20180728
...现在哪呢?? 3d场景单材质单模型CurMem300多 2.0 drawTexture color参数无效 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 怎样获取浏览器地址传过来的GET参数 问题状态 最新活动: 2020-11-05 12:32 浏览: 1648 关注: 5 人 嘿哈 • 2019-05-21 20:30 runtime...
来源: Laya_社区 发布时间: 20181022
... bgRes:String; public function Main() { Laya.init(2048,1536); Laya.stage.bgColor = "#333333"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; bgRes = "res/bg.jpg"; addPic("res/bg.jpg", 0, 0); var txt:Text = new Text(); txt.text = "Fishing Game"; txt.color = "#FFFFFF"; txt.fontSize = 60; txt.stroke = 5; ...
来源: Laya_社区 发布时间: 20170522
....Text(); //设置文本内容 txt.text = "Hello"; //设置文本颜色 txt.color = "#FF0000"; //设置文本字体大小,单位是像素 txt.fontSize = 66; //设置字体描边 txt.stroke = 5;//描边为5像素 txt.strokeColor = "#FFFFFF"; //设置为粗体 txt.bold = true; //设置文本的显示...
来源: Laya_社区 发布时间: 20171019