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

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

141. box2d 弹性异常 [ 51%]

...any, self: any, contact: any): void { let rig: Laya.RigidBody = this.owner.getComponent(Laya.RigidBody) as Laya.RigidBody; let velocity = rig.linearVelocity; console.log(velocity) } 你把初始弹射改成一个球,你就会发现,这个球,他的水平速度x 小于一定值后就变成0了...

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

142. laya.physics.CircleCollider_API3.0 [ 51%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

143. laya.particle.Particle2D_API3.0 [ 51%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoin...

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

144. laya.media.SoundNode_API3.0 [ 51%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoin...

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

145. laya.map.GridSprite_API3.0 [ 51%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hide hitTes...

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

146. laya.display.Sprite_API3.0 [ 51%]

...rameOnce fromParentPoint getBounds getChildAt getChildByName getChildIndex getComponent getComponents getGraphicBounds getMousePoint getRepaint getSelfBounds get_anchorX get_anchorY get_height get_scaleX get_scaleY get_transform get_visible get_width globalToLocal hasHideFlag hasListener hitTestPoin...

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

147. laya.physics.EdgeCollider_API3.0 [ 51%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

148. laya.d3.terrain.Terrain [ 51%]

...:Node):int 根据子节点对象,获取子节点的索引位置。 Node getComponent(clas:*):* 获得组件实例,如果没有则返回为null Node getComponents(clas:*):Array 获得组件实例,如果没有则返回为null Node  getHeightXZ(x:Number, z:Number):Number 获取地形高度。...

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

149. laya.d3.core.light.Light_API3.0 [ 51%]

...在update之后执行,尽量不要在这里写大循环逻辑或者使用getComponent方法 Returns void Optional onPostRender onPostRender(): void Inherited from Component.onPostRender Defined in laya/components/Component.ts:307 渲染之后执行 Returns void Optional onPreRender onPreRender(): ...

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

150. laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 [ 51%]

...me类型(写个runtime继承Laya.Button),以及Node类型(然后再getcomponment laya.button),都不对... 2019-06-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复 156*****247 赞同来自: Jae 、lee...

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