大约有 60 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
...eflection Probe组件 图1-3 在Reflection Probe组件选择适合的采样等级采样大小,点击Bake按钮就可以开始反射探针的烘焙 图1-4 2.反射探针的属性 2.1 Ambient Mode 环境光模式有两种,一种是球谐模式一种是纯色模式 图2-1 球谐模式 通过球谐...
来源: Laya3.0_文档 发布时间: 20251010
...在官网支持的最小平台版本号可以点击这里查看。 日志等级 七种日志等级,先级从高到底依次为OFF、ERROR、WARN、INFO、LOG、DEBUG、TRACE,可以方便地知道当前程序的运行状态。 是否使用正式版签名 如果只是测试版本调试,这里可...
来源: Laya3.0_文档 发布时间: 20251010
...istance=100; //生成阴影贴图数量 light.shadowPSSMCount = 1; //模糊等级,越大越高,效果更好,更耗性能 light.shadowPCFType=10; //投影质量 light.shadowResolution=2048; //创建盒子模型 let box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(5,5,1....
来源: Laya_社区 发布时间: 20180302
...48; //生成阴影贴图数量 directionLight.shadowPSSMCount = 1; //模糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 1; //添加自定义模型 // //创建模型显示对象 var sphere3D=new Laya.MeshSprite3D(new Laya.SphereMesh(1, 32, 32)); sphere3D.transform.translate(new Lay...
来源: Laya_社区 发布时间: 20170809
...数量 directionLight.shadowPSSMCount = 1; //模糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 3; Laya.loader.create([ "res/plane.lh", "res/LayaMonkey.lh" ], Laya.Handler.create(this, ...
来源: Laya_社区 发布时间: 20180725
...erited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 TextureCube filterMode : int 缩小过滤器 BaseTexture format : int[read-only] 纹理格式 BaseTexture grayTexture ...
来源: Laya2.0_api 发布时间: 20190513
...Distance=45; //生成阴影贴图数量 light.shadowPSSMCount = 1; //模糊等级,越大越高,效果更好,更耗性能 light.shadowPCFType=1; //投影质量 light.shadowResolution=2048; //创建盒子模型 var box:Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(1.5,1.5...
来源: Laya_社区 发布时间: 20180307
...erited Public Properties PropertyDefined By anisoLevel : int 各向异性等级 BaseTexture currentActive : RenderTexture[static] [read-only] 获取当前激活的Rendertexture。 RenderTexture defaulteTexture : BaseTexture[override] [read-only] 获取默认纹理资源。 RenderTexture d...
来源: Laya2.0_api 发布时间: 20190513
... directionLight.shadowPSSMCount = 1; //模糊等级,越大越高,更耗性能 directionLight.shadowPCFType = 3; // 批量预加载资源 // Laya.loader.create([ // "res/threeDimen/staticModel/grid/plane.lh", ...
来源: Laya_社区 发布时间: 20190509
...ure.filterMode = Laya.BaseTexture.FILTERMODE_BILINEAR; //设置各向异性等级 texture.anisoLevel = 2; // texture.setCompressData(data); mater.albedoTexture = texture; //修改材质贴图的平铺和偏移 // var tilingOffset:Laya.Vector4 = mater.tilingOffset; // tilingOffset.setValue(2, 2, 0, 0...
来源: Laya_社区 发布时间: 20220815