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

大约有 573 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0111 秒)

291. 第一个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

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

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

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

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

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

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

294. laya.d3.core.light.SpotLightCom_API3.0 [ 61%]

...t SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmapBakedType range shadowDepthBias shadowDistance shadowMode shadowNearPlane shadowNormalBias shadowResolution...

来源: Laya3.0_api 发布时间: 20231115

295. SubShader介绍(JavaScript-3D基础(JS)-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_文档 发布时间: 20210714

296. FlashDevelop中第一个程序“Hello Layabox”(ActionScript-LayaAir基础篇(AS3)-快速上手) [ 61%]

...      //设置文本颜色为白色,默认颜色为黑色    txt.color = '#ffffff';         //将文本内容添加到舞台     Laya.stage.addChild(txt);   }  } } ``` ​ **步骤三**:完成代码编写后,使用之前定义的编译快捷键(Alt+F5),把AS3代...

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

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

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

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

298. 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_文档 发布时间: 20251010

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

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