大约有 270 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0080 秒)
...如泛光、环境光等都是光效,而非光源。3D灯光有四种:平行光(DirectionLight)、点光(PointLight)、聚光(SpotLight)、区域光(AreaLight)。LayaAir引擎不仅支持这些光源的任意类型,还支持在同一场景下任意添加多个不同类型的光...
来源: Laya3.0_文档 发布时间: 20251010
...如泛光、环境光等都是光效,而非光源。3D灯光有三种, 平行光(DirectionLight),点光(PointLight),聚光(SpotLight),LayaAir引擎不仅支持这些光源的任意类型,还支持在同一场景下任意添加多个不同类型的光源。 下面简单介绍...
来源: Laya2.0_文档 发布时间: 20210714
...手引导的抠图透明区域为黑色,其它机型都是正常的。 3D平行光产生的投影,如何修改颜色深浅? button label 点击颜色 如何设置舞台背景颜色为透明 没有加载ls文件的情况下能否设置scene的颜色?还是只能黑色? 混合模式作用只...
来源: Laya_社区 发布时间: 20180103
...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
... 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
... 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
....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
...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
...尾》。 灯光 灯光节点总共有四种,分别是DirectionLight(平行光)、PointLight(点光源)、SpotLight(聚光灯)、AreaLight(区域光)。它们决定了环境的颜色和氛围,不同光源会呈现不同的效果。详细的设置方法请参考文档《3D灯光...
来源: Laya3.0_文档 发布时间: 20251011
...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