大约有 281 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0059 秒)
...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
... rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 let sprite:Laya.Sprite = new Laya.Sprite(); Laya.stage.addChild(sprite); sprite.gra...
来源: Laya_社区 发布时间: 20180529
...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
...s); rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新 rankSprite2.graphics.drawTexture(rankTexture,5,78,rankTexture.width,rankTexture.height); }); 开发数据域: MiniAdpter.init(true,true); Laya.init(1280,720);//标注:开发数据域不支持webgl模...
来源: Laya_社区 发布时间: 20180310
...材质,后面的三个胶囊体都是非透明材质,所以我们需要每帧将毛玻璃模型后面的所有渲染物体全部拿出,进行模糊,再将图片按屏幕uv采样到毛玻璃上面,便可以实现这样的效果 示例代码 createCommandBuffer(camera:Camera){ //当需要在...
来源: Laya3.0_文档 发布时间: 20251010
...材质,后面的三个胶囊体都是非透明材质,所以我们需要每帧将毛玻璃模型后面的所有渲染物体全部拿出,进行模糊,再将图片按屏幕uv采样到毛玻璃上面,便可以实现这样的效果 ##### 示例代码 ```typescript createCommandBuffer(camera:Cam...
来源: Laya2.0_文档 发布时间: 20210715
...sition.cloneTo(this.curpos); this.delatpos = new Laya.Vector3(); } } /** * 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 * 此方法为虚方法,使用时重写覆盖即可 */ onUpdate(): void { if (!this.target || !this.camera) return; this.target.t...
来源: Laya3.0_文档 发布时间: 20251010
...s:156 物理引擎在一帧中用于补偿减速的最大次数:模拟器每帧允许的最大模拟次数,如果引擎运行缓慢,可能需要增加该次数,否则模拟器会丢失“时间",引擎间隔时间小于maxSubSteps*fixedTimeStep非常重要。 Static disableSimulation disableSi...
来源: Laya3.0_api 发布时间: 20231115
...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
...果想实现动图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