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

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

301. Sprite3D添加组件或脚本(JavaScript-3D基础(JS)-LayaAir3D之精灵) [ 61%]

...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //精灵添加脚本 monkey.addComponent(MonkeyScript); scene.addChild(monkey); } }...

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

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

303. laya的各种light支持culling mask吗? [ 61%]

...Child(new Laya.DirectionLight()) as Laya.DirectionLight; this._PlayerLight.color = new Laya.Vector3(0.7, 0.6, 0.6); this._PlayerLight.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); this._PlayerLight.layer = 9; 都没用啊 请问您是如何实现的。 135*****336 • 2020-05-20 16:1...

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

304. SubShader介绍(ActionScript-3D基础(AS3)-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

305. 图像组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 61%]

...边距、右边距、下边距、左边距、是否重复填充。 颜色 color 更改图片颜色。 资源分组 Group 加载分组,设置后可以按组管理资源。 这里详细说明一下九宫格的设置。假设有一张位图,如图1-4所示,它的边框颜色正好符合作为一...

来源: Laya3.0_文档 发布时间: 20251010

306. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 61%]

...directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); //加载精灵 var monkey = Laya.Loader.getRes("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"); //精灵添加脚本 monkey.addComponent(MonkeyScript); scene.addChild(monkey); } }...

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

307. 如何在3d场景中添加文字 [ 61%]

...Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"; this.txtName.bold = true; this.txtName.align = "left"; Laya.stage.addChild(this.txtName); //设置其他玩家...

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

308. unity里导出的骨骼动画无法读取 [ 61%]

...or3( -30, 0, 0), true, false);                 camera.clearColor = null;                 //添加方向光                 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight;                 direc...

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

309. ipad端textinput设置为scroll还是不能滚动 [ 61%]

...; input.fontSize = 60; input.size(256, 128); input.align = "center"; input.color = "#ff0000"; input.overflow = Laya.Text.SCROLL; input.wordWrap = false; input.maxChars = 10; 2017-08-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 ...

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

310. laya.d3.core.light.Light_API3.0 [ 61%]

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

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