大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)
Laya_社区(277) Laya2.0_文档(68) Laya3.0_api(54) Laya_示例(42) Laya3.0_文档(30) Laya2.0_示例(24) Laya2.0_api(9) laya_api(7)
...t = scene.addChild(new DirectionLight()) as DirectionLight; directionLight.color = new Vector3(1, 1, 1); directionLight.transform.rotate(new Vector3( -3.14 / 3, 0, 0)); })); ``` 查看加载后的效果(图1)。 (图片1) #### 2. 材质加载 在单个材质进行加载的时候,...
来源: Laya2.0_文档 发布时间: 20210715
...nsform.translate(new Laya.Vector3(0, 0, 3)); spotLight_.color = new Laya.Vector3(1, 0, 0); spotLight_.intensity = 50; camera_.transform.translate(new Laya.Vector3(0, 3, 0)); camera_.transform.rotate(new Laya.Vector3(-45, ...
来源: Laya_社区 发布时间: 20200506
..."Hello Layabox"; //设置文本颜色为白色,默认颜色为黑色 txt.color = '#000000'; //将文本内容添加到舞台 Laya.stage.addChild(txt); } } } 输出: Hello,World 报错: [Fault] exception, information=undefined Fault, <anonymous>() at RunDriver.as:30 2018-08-24 添加评...
来源: Laya_社区 发布时间: 20180824
...? matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 2.2.0beta4,微信上动态合批报错. anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnabl...
来源: Laya_社区 发布时间: 20171105
...? matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 2.2.0beta4,微信上动态合批报错. anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnabl...
来源: Laya_社区 发布时间: 20171105
...ddInclude("ShadowCasterFS.glsl", ShadowCasterFSGLSL); Shader3D.addInclude("Colors.glsl", ColorsGLSL); Shader3D.addInclude("Sampling.glsl", SamplingGLSL); Shader3D.addInclude("StdLib.glsl", StdLibGLSL); Shader3D.addInclude("PBRVSInput.glsl", PBRVSInput); Shader3D.addInclude("PBRFSInput.glsl", PBRFSIn...
来源: Laya2.0_文档 发布时间: 20210714
...s访问不到JSBridge类中的方法,请求官方帮助, 2.0 drawTexture color参数无效 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 问题状态 最新活动: 2017-06-08 12:14 浏览: 1291 关注: 2 人
来源: Laya_社区 发布时间: 20170608
...ddInclude("ShadowCasterFS.glsl", ShadowCasterFSGLSL); Shader3D.addInclude("Colors.glsl", ColorsGLSL); Shader3D.addInclude("Sampling.glsl", SamplingGLSL); Shader3D.addInclude("StdLib.glsl", StdLibGLSL); Shader3D.addInclude("PBRVSInput.glsl", PBRVSInput); Shader3D.addInclude("PBRFSInput.glsl", PBRFSIn...
来源: Laya2.0_文档 发布时间: 20210715
...ponent = this.spotLight.getComponent(Laya.SpotLight2D); spotLightComponent.color = new Laya.Color(1, 0.812, 1); spotLightComponent.intensity = 1.0; spotLightComponent.innerRadius = 50; spotLightComponent.outerRadius = 200; spotLightComponent.innerAngle = 50; spotLightComponent.outerAngle = 150; } } ...
来源: Laya3.0_文档 发布时间: 20250214
...hh.pos(Laya.stage.width / 2 , Laya.stage.height / 2); hh.fontSize = 20; hh.color = "red"; Laya.stage.addChild(hh); } } new GameMain(); var sData={type:"test"}; window.conchMarket.login(JSON.stringify(sData),function(data){ console.log(data); // TODO 数据处理. }); 调用conchMarket出错 2017-...
来源: Laya_社区 发布时间: 20171129