大约有 367 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0091 秒)
... Scene addScript(type:*):Script 添加指定类型脚本。 Scene addShaderDefine(define:int):void 增加shader宏定义。 Scene clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定...
来源: laya_api 发布时间: 20170929
...的资源进行压缩,因为3.X的IDE在构建发布时会对fbx,cubemap,shader等类型的文件进行预解压/解析处理。加载 将所需资源压缩成zip(需要确认的一点是,压缩的zip中目录结构不要多包一层,切记) 根据约定,在默认情况下只会加载zip...
来源: Laya_社区 发布时间: 20230316
...型场景找到一个提高帧率的方法: 在unity里面设置物体的shader: 1. 先把render mode 设置成transparent 2. 再把render mode设置成 custom 3. 然后把depth write 设置成 on 通过以上修改,现在微信小游戏里纯模型的场景可以达到60 fps,sav...
来源: Laya_社区 发布时间: 20190921
...纹理完全不需要设置。 面对2D开发需求时,也可以用于2D Shader以及支持设置纹理偏移的2D渲染组件(例如2D网格渲染器)中。 2.3 过滤模式 filterMode 过滤模式(Filter Mode) 用于控制当纹理被缩放(放大或缩小时),GPU 如何计算与...
来源: Laya3.0_文档 发布时间: 20251128
...1 11:17:09.455 8591-8591/? I/LayaBox﹕ found the file in the package:shaders/todevVS.glsl 04-11 11:17:09.455 8591-8591/? I/LayaBox﹕ found the file in the package:shaders/fillColorPS.glsl 04-11 11:17:09.455 8591-8591/? I/LayaBox﹕ found the file in the package:shaders/drawImagePS.g...
来源: Laya_社区 发布时间: 20170411
...:void BaseScene addRenderQuene():void 添加渲染队列。 BaseScene addShaderDefine(define:int):void 增加shader宏定义。 BaseScene beforeRender(state:RenderState):void 渲染前处理,可重写此函数。 BaseScene beforeUpdate(state:RenderState):void 更新前处理,可重写此函数...
来源: laya_api 发布时间: 20170422
...应材质的基础属性,切换材质的着色器是通过选择材质的Shader来实现的,具体操作图动图2-1-1所示,来切换到其他类型的着色器。 动图2-1-1 2.1.1 BlinnPhong 着色器 Blinn-Phong光照模型能够简单描述物体表面对光的吸收与反射,使物体...
来源: Laya3.0_文档 发布时间: 20251011