• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 511 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0056 秒)

241. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 62%]

...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)。 ![](img/1.png)(图片1) #### 2. 材质加载 在单个材质进行加载的时候,...

来源: Laya2.0_文档 发布时间: 20210715

242. 3D的点光源或者聚光灯的光源会穿透模型 [ 62%]

...nsform.translate(new Laya.Vector3(00, 3));         spotLight_.color = new Laya.Vector3(1, 00);         spotLight_.intensity = 50;         camera_.transform.translate(new Laya.Vector3(0, 3, 0));         camera_.transform.rotate(new Laya.Vector3(-45, ...

来源: Laya_社区 发布时间: 20200506

243. 第一个hellolayabox就报错了,求助! [ 62%]

..."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

244. 为什么动态设置聚光灯朝向无效呢 [ 62%]

...? matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 2.2.0beta4,微信上动态合批报错. anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnabl...

来源: Laya_社区 发布时间: 20171105

245. 为什么动态设置聚光灯朝向无效呢 [ 62%]

...? matter.js mouseconstraint在微信小游戏中无效 2.0 drawTexture color参数无效 关于同为object层,层级设置无效的问题 2.2.0beta4,微信上动态合批报错. anchor锚点设置不生效 将list里的scrollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnabl...

来源: Laya_社区 发布时间: 20171105

246. SubShader介绍(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 62%]

...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

247. Tween回调方法里如何带参数? [ 61%]

...s访问不到JSBridge类中的方法,请求官方帮助, 2.0 drawTexture color参数无效 【BUG备忘录】关于Tween动画无法正常作用问题-解决办法 问题状态 最新活动: 2017-06-08 12:14 浏览: 1291 关注: 2 人

来源: Laya_社区 发布时间: 20170608

248. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 61%]

...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

249. 2D聚光灯 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...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

250. layabox与java交互 [ 61%]

...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