大约有 136 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0044 秒)
...置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输...
来源: Laya2.0_文档 发布时间: 20210715
...置打破约束的力的阈值 this.fixedConstraint.breakForce = 1000; } onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输...
来源: Laya2.0_文档 发布时间: 20210715
...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate reBatch setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new BatchRender(): BatchRender Overrides BaseRender.constructor Defined in laya/d3/component/Volume/BatchVolume/BatchRende...
来源: Laya3.0_api 发布时间: 20231115
...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate removeLine setLine setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new PixelLineRenderer(): PixelLineRenderer Overrides BaseRender.constructor Defined in laya/d3/core/pixelLine/P...
来源: Laya3.0_api 发布时间: 20231115
...撞时执行 此方法为虚方法,使用时重写覆盖即可 Script onUpdate():void 每帧更新时执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 此方法为虚方法,使用时重写覆盖即可 ScriptProtected Methods MethodDefined By _onAwake():void[o...
来源: Laya2.0_api 发布时间: 20190513
...阈值 this.fixedConstraint.breakForce = 1000; } override public function onUpdate() { if(this.fixedConstraint) { var mass = this.fixedConstraint.connectedBody.mass; this.fixedConstraint.connectedBody.mass = mass+1; //输出当前约束所受力 console.log(this.fixedConstraint.currentForce); //输...
来源: Laya2.0_文档 发布时间: 20210714
...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new TrailRenderer(): TrailRenderer Overrides BaseRender.constructor Defined in laya/d3/core/trail/TrailRenderer.ts:22 实例化一...
来源: Laya3.0_api 发布时间: 20231115
...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate reBatch setRenderbitFlag __init__ changeVertexDefine shaderValueInit Constructors constructor new StatiVertexMergeBatchRender(): StatiVertexMergeBatchRender Inherited from BatchRender.constructor Overrides BaseRender...
来源: Laya3.0_api 发布时间: 20231115
摄像机||刚体抖动 _upDate3D是从 d3.js抛出的事件,onUpdate走一次,updata3D走2次,可以理解为物理算两次,游戏刷一次,如果在updata3D里面不用差值不会抖,但是会很死板,用了差值就GG,抖的一批 2020-11-02 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20201102
...y onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate setAxis setConnectRigidBody setConstraintEnabled setOverrideNumSolverIterations Constructors constructor new ConfigurableConstraint(): ConfigurableConstraint Overrides ConstraintComponent.constructor Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115