大约有 246 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
...一下,最后回到原大小或原位置,应该用什么缓动模式 3D平行光产生的投影,如何修改颜色深浅? Laya["MiniAdpter"].nativefiles 在QQ小游戏中无法读取到 如何修改物理引擎中的图层 3D模型无法修改scale? 【BUG备忘录】关于Tween动画无法...
来源: Laya_社区 发布时间: 20180525
...)); camera2.normalizedViewport = new Viewport(0.5, 0.0, 0.5, 0.5); //添加平行光 var directionLight:DirectionLight = scene.addChild(new DirectionLight()) as DirectionLight; //加载模型 Sprite3D.load("res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Handler.create(null, function(sp:Sprite3D...
来源: Laya2.0_文档 发布时间: 20210715
...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
...默认文本颜色是绿色,我想换成其他颜色,如何操作? 3D平行光产生的投影,如何修改颜色深浅? ColorFilter滤镜在遮罩下无效 混合模式作用只是将颜色混合起来吗 Morn UI中的Label文字颜色显示不正确 laya如何实现图片变暗滤镜 如...
来源: Laya_社区 发布时间: 20180930
... 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
...手引导的抠图透明区域为黑色,其它机型都是正常的。 3D平行光产生的投影,如何修改颜色深浅? button label 点击颜色 如何设置舞台背景颜色为透明 没有加载ls文件的情况下能否设置scene的颜色?还是只能黑色? 混合模式作用只...
来源: Laya_社区 发布时间: 20180103
... 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(平行光)、PointLight(点光源)、SpotLight(聚光灯)、AreaLight(区域光)。它们决定了环境的颜色和氛围,不同光源会呈现不同的效果。详细的设置方法请参考文档《3D灯光...
来源: Laya3.0_文档 发布时间: 20251011
...光(Range照射范围、Spot Angle聚光灯锥形角度)、Directional平行光、Point点光(Range照射范围)) Color(灯光颜色) 支持 Mode(灯光模式) 支持(包括:Realtime实时灯光、Baked烘焙光照贴图、Mixed混合光源) Intensity(灯光强度) 支持...
来源: Laya3.0_文档 发布时间: 20251010
....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