大约有 5 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0034 秒)
...on4.1 Perspective 透视模式4.2 Orthographic 正交模式五、Render5.1 清除标志5.2 高动态光照渲染5.3 抗锯齿5.4 剔除遮罩六、Output6.1 视图矩形6.2 深度贴图6.3 目标纹理6.4 其它七、通过代码使用摄像机7.1 如何从摄像机创建一条射线7.2 可视遮罩...
来源: Laya3.0_文档 发布时间: 20251010
...exture实例,并显示此图片(如果之前有其他绘制,则会被清除掉)。 * 等同于graphics.clear();graphics.drawImage(),但性能更高 * 还可以赋值一个图片地址,则会自动加载图片,然后显示 */ get texture(): Texture; set texture(value: Texture); 我们...
来源: Laya3.0_文档 发布时间: 20251010
...obj); aList.RemoveChildrenToPool(); 添加对象时不使用池,但最后清除列表时却放到池里。这段代码持续运行,对象池将不断增大,可能造成内存溢出。 正确的做法:应从池中创建对象。将addChild改成addItemFromPool。 错误示例2: for(let i=0;...
来源: Laya3.0_文档 发布时间: 20251128
...ited = false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); });...
来源: Laya3.0_文档 发布时间: 20251010
...ited = false; this.destroy(true); }; //通过传入粒子特效的路径,清除缓冲池 static ClearPool(root_path: string): void { if (root_path == null) { root_path = ""; } Pool.getInstance().ClearGroup("Particle3D@" + root_path, this, function(particle_3d:Particle3D) { particle_3d.Clean(); });...
来源: Laya3.0_文档 发布时间: 20250104