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

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

251. 3D概念入门 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...如泛光、环境光等都是光效,而非光源。3D灯光有四种:平行光(DirectionLight)、点光(PointLight)、聚光(SpotLight)、区域光(AreaLight)。LayaAir引擎不仅支持这些光源的任意类型,还支持在同一场景下任意添加多个不同类型的光...

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

252. 零基础了解3D游戏开发基础概念(TypeScript-3D基础(TS)-LayaAir3D图形系统基础概念) [ 44%]

...如泛光、环境光等都是光效,而非光源。3D灯光有三种, 平行光(DirectionLight),点光(PointLight),聚光(SpotLight),LayaAir引擎不仅支持这些光源的任意类型,还支持在同一场景下任意添加多个不同类型的光源。 下面简单介绍...

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

253. 某些机型drawToCanv绘图颜色变深 [ 42%]

...手引导的抠图透明区域为黑色,其它机型都是正常的。 3D平行光产生的投影,如何修改颜色深浅? button label 点击颜色 如何设置舞台背景颜色为透明 没有加载ls文件的情况下能否设置scene的颜色?还是只能黑色? 混合模式作用只...

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

254. localRotationEulerY旋转位置错误 [ 42%]

...ight.color = new Laya.Vector3(0.6, 0.6, 0.6);         //设置平行光的方向         var mat = directionLight.transform.worldMatrix;         mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0));         directionLight.transform.worldMatrix = mat;    ...

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

255. texture2D的setPixel纹理rgba数据之后会随着窗口的缩放,渐变成黑色 [ 41%]

... scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; //设置平行光的方向 var mat = directionLight.transform.worldMatrix as Laya.Matrix4x4; mat.setForward(new Laya.Vector3(-1.0, -1.0, -1.0)); directionLight.transform.worldMatrix=mat; this.sprite3D = scene.addChild(new Laya.Sprite...

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

256. [BUG]刚体约束问题,移动后约束混乱! [ 39%]

...  directionLight.color = new Laya.Vector3(1, 1, 1);     //设置平行光的方向     directionLight.transform.worldMatrix.setForward(new Laya.Vector3(-1.0, -1.0, 1.0));          //平面     var plane = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh....

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

257. 加载.lh文件 运行后黑屏 无法显示 [ 36%]

....DirectionLight();     scene.addChild(directionLight);     //设置平行光颜色     directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6);         var layaMonkey:Laya.Sprite3D = scene.addChild(Laya.Loader.getRes("Export/LayaScene_JJF/Conventional/JJF.lh")) as Laya.Sprite3D; ...

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

258. laya.d3.core.light.PointLight [ 33%]

...Constants ConstantDefined By TYPE_DIRECTIONLIGHT : int = 1[static] 定义平行光类型的标记。LightSprite TYPE_POINTLIGHT : int = 2[static] 定义点光类型的标记。LightSprite TYPE_SPOTLIGHT : int = 3[static] 定义聚光类型的标记。LightSpriteProperty Detailattenuationproperty...

来源: laya_api 发布时间: 20170929

259. 层级面板 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...尾》。 灯光 灯光节点总共有四种,分别是DirectionLight(平行光)、PointLight(点光源)、SpotLight(聚光灯)、AreaLight(区域光)。它们决定了环境的颜色和氛围,不同光源会呈现不同的效果。详细的设置方法请参考文档《3D灯光...

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

260. laya.d3.core.light.DirectionLightCom_API3.0 [ 30%]

...m" DirectionLightCom Class DirectionLightCom DirectionLight 类用于创建平行光。 Hierarchy Light DirectionLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id intensity lightWorldMatrix lightmap...

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