• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 274 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)

251. CommandBuffer使用文档(TypeScript-3D基础(TS)-LayaAir3D之高级应用) [ 36%]

...材质,后面的三个胶囊体都是非透明材质,所以我们需要每帧将毛玻璃模型后面的所有渲染物体全部拿出,进行模糊,再将图片按屏幕uv采样到毛玻璃上面,便可以实现这样的效果 ##### 示例代码 ```typescript createCommandBuffer(camera:Cam...

来源: Laya2.0_文档 发布时间: 20210715

252. 使用3D摄像机 · LayaAir3.3 · 引擎文档 · LAYABOX [ 35%]

...sition.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.t...

来源: Laya3.0_文档 发布时间: 20251010

253. laya.d3.physics.PhysicsSimulation_API3.0 [ 35%]

...s:156 物理引擎在一帧中用于补偿减速的最大次数:模拟器每帧允许的最大模拟次数,如果引擎运行缓慢,可能需要增加该次数,否则模拟器会丢失“时间",引擎间隔时间小于maxSubSteps*fixedTimeStep非常重要。 Static disableSimulation disableSi...

来源: Laya3.0_api 发布时间: 20231115

254. laya.d3.physics.Rigidbody3D_API3.0 [ 34%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

来源: Laya3.0_api 发布时间: 20231115

255. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

...果想实现动图2-1所示的效果,即绕Y轴进行旋转动画,则每帧需要增加localRotationEulerY的值,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; //...

来源: Laya3.0_文档 发布时间: 20251010

256. 引擎基础概念 · LayaAir3.3 · 引擎文档 · LAYABOX [ 34%]

... 与普通纹理不同,RenderTexture 的内容是动态生成的,可以每帧刷新,也可以按需更新。它是实现屏幕缓存、离屏渲染(off-screen rendering)、后期处理等高级图形效果的重要工具,是 2D 与 3D 图形系统中不可或缺的核心纹理类型之...

来源: Laya3.0_文档 发布时间: 20251010

257. laya.components.Animator2D_API3.0 [ 32%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

来源: Laya3.0_api 发布时间: 20231115

258. 性能统计与优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 32%]

...黄色值60为当前的FPS帧速,越高越好。 第二个黄色值16为每帧渲染所消耗的时间,单位为毫秒,这个值越小越好。 这两个值如果不能维持在满帧,会在产品操作过程中产生变化,如动图2-3所示。 (动图2-3) 3、DrawCall介绍 DrawCall的...

来源: Laya3.0_文档 发布时间: 20251010

259. laya.d3.component.animator.Animator_API3.0 [ 28%]

...ed from Component.onLateUpdate Defined in laya/components/Component.ts:297 每帧更新时执行,在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in la...

来源: Laya3.0_api 发布时间: 20231115

260. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 28%]

...象遍历过程及程序命令组织,未缓存成一张位图,在游戏每帧渲染时,不用再次去遍历子对象,而是直接把子对象按照遍历好的层级进行显卡渲染,它不会减少drawcall,不会增加内存损耗。渲染性能中等。 “位图”:进行renderTar...

来源: Laya3.0_文档 发布时间: 20251010