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

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

251. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 38%]

...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

252. 微信小游戏利用开放域好友关系链做排行榜 [ 37%]

...  rankTexture.bitmap.alwaysChange = true;//小游戏使用,非常费,每帧刷新                                  let sprite:Laya.Sprite = new Laya.Sprite();                 Laya.stage.addChild(sprite);                 sprite.gra...

来源: Laya_社区 发布时间: 20180529

253. laya.d3.core.ui3d.UI3D_API3.0 [ 37%]

...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

254. 关于微信小游戏关系链的问题 [ 37%]

...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

255. CommandBuffer · LayaAir3.4 · 引擎文档 · LAYABOX [ 36%]

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

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

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

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

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

257. 使用3D摄像机 · LayaAir3.4 · 引擎文档 · 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

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

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

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

259. laya.d3.physics.Rigidbody3D_API3.0 [ 35%]

...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. 3D变换 · LayaAir3.4 · 引擎文档 · 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