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

大约有 378 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0036 秒)

311. laya.d3.core.particleShuriKen.ShurikenParticleSystem [ 49%]

... Show Inherited Public Methods MethodDefined By  ShurikenParticleSystem(owner:ShuriKenParticle3D)ShurikenParticleSystem  _beforeRender(state:RenderState):BooleanShurikenParticleSystem  _getIndexBuffer():IndexBuffer3DShurikenParticleSystem  _getVertexBuffer(index:int = 0):VertexBuffer3DShuri...

来源: laya_api 发布时间: 20170929

312. 如何获取刚体碰撞前的刚体速度 [ 49%]

...ai 赞同来自: 试试覆写 Script的onTriggerEnter方法。 或者侦听owner的 Event.TRIGGER_ENTER 事件。   然而你台球游戏不是应该设置好每个物体的刚体属性,质量,碰撞属性,摩擦力等,只需要给白球施加一个力就可以吗?为什么还要自己去...

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

313. laya.physics.joint.MotorJoint [ 48%]

...otherBody : RigidBody[首次设置有效]关节的连接刚体MotorJoint owner : Node [只读]获取所属Node节点。 Component  selfBody : RigidBody[首次设置有效]关节的自身刚体MotorJointProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties P...

来源: Laya2.0_api 发布时间: 20190513

314. Laya 3D项目中 3d模型可以添加2d刚体吗 这边添加会出现报错 [ 48%]

...d模型可以添加2d刚体吗 这边添加会出现报错 TypeError: this.owner.localToGlobal is not a function preload.js:55 at RigidBody.__proto._createBody (/Users/tuyoo/client5/work/Laya_work/FlipRush/LayaProject/car/bin/libs/laya.physics.js:2031:27) at RigidBody.__proto._onAwake (/Users/tuyoo/...

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

315. laya.physics.joint.RevoluteJoint [ 48%]

...Body[首次设置有效]关节的连接刚体,可不设置RevoluteJoint owner : Node [只读]获取所属Node节点。 Component  selfBody : RigidBody[首次设置有效]关节的自身刚体RevoluteJoint  upperAngle : Number启用约束后,刚体旋转范围的上限弧度RevoluteJointProt...

来源: Laya2.0_api 发布时间: 20190513

316. 进度条组件 · LayaAir3.0文档 · LAYABOX [ 47%]

...is.progressBar.changeHandler = new Laya.Handler(this, this.onChange); this.owner.addChild(this.progressBar); Laya.timer.loop(100, this, this.changeValue); }); } // 模拟进度条加载 private changeValue(): void { if (this.progressBar.value >= 1) this.progressBar.value = 0; this.progressBar.val...

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

317. Sprite3D添加组件或脚本(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 47%]

...t():void { trace("onStart"); } override public function onUpdate():void { (owner as Sprite3D).transform.rotate(rotation, false); } override public function onLateUpdate():void { trace("onLateUpdate"); } } ``` 这样脚本就添加完成了,我们可以看下运行之后的效果: ![](img/2.gif)(...

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

318. 垂直布局容器组件 · LayaAir3.0文档 · LAYABOX [ 47%]

...n(() => { this.createBtn(); this.createvbox(); // 添加VBox组件 this.owner.addChild(this.vbox); }); } // 创建Button组件 private createBtn(): void { this.btn1 = new Laya.Button(this.skins); this.btn2 = new Laya.Button(this.skins); this.btn3 = new Laya.Button(this.skins); } // 创建VBox组...

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

319. laya.d3.component.animation.KeyframeAnimations [ 47%]

...ad-only] 获取播放器当前动画的节点数量。 KeyframeAnimations owner : ComponentNode[read-only] 获取所属Sprite3D节点。 Component3D  player : AnimationPlayer[read-only] 获取动画播放器。 KeyframeAnimations started : Boolean是否已执行start函数。Component3D  templ...

来源: laya_api 发布时间: 20170929

320. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 47%]

...ivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITION)) { var shapeOffset = this._colliderShape.localOffset; var position = transform.position; var btPosition = CannonPhysicsComponent....

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