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

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

771. laya.physics.Physics_API3.0 [ 69%]

...类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 getBodyCount getBodyCount(): number Defined in laya/physics/Physics.ts:216 获得刚体总数量 Returns number getContactCount getContactCount(): number Defined in laya/physics/Physics.ts:221 获得碰撞总数量 R...

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

772. laya.ui.ScaleBox_API3.0 [ 69%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

773. 预加载进入游戏界面 [ 69%]

...资源,如果全部加载成功,则回调参数值为true,否则为false。          * @param    progress    加载进度回调。回调参数值为当前资源的加载进度信息(0-1)。          * @param    type        资源类型。比如:Loader.IMAGE。   ...

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

774. laya.ui.Box_API3.0 [ 69%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

775. Laya.tween设置了完成回调函数,但是偶尔会出现不回调的问题 [ 69%]

...示例 item.tweener.update=Handler.create(this,this.__tweenUpdate,[item],false);}还有我感觉当Tween.to 的第二个参数为{} 的时候,应该也会有问题,,这些问题都不是必现的,,而且没有报错,,只是偶尔出现一次,或者动效过多的时候出现几次,...

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

776. [Laya2.0beta3] 3d模型克隆后 都不显示了 [ 69%]

...克隆sprite3d layaMonkey_clone1 = Sprite3D.instantiate(layaMonkey, scene, false, new Vector3(0.6, 0, 0)); //克隆sprite3d layaMonkey_clone2 = scene.addChild(Sprite3D.instantiate(layaMonkey, null, false, new Vector3( -0.6, 0, 0))) as Sprite3D; 上图两种 克隆方式 2018-10-18 1 2 分享 微博 ...

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

777. laya.ui.ColorPicker_API3.0 [ 69%]

...hangeHandler = laya.utils.Handler.create(this, onChangeColor,[colorPicket],false);//设置 colorPicket 的颜色改变回调函数。 Laya.stage.addChild(colorPicket);//将此 colorPicket 对象添加到显示列表。 } function onChangeColor(colorPicket) { console.log("当前选择的颜色: " +...

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

778. 分享问题解决,关键词:canvas不在左上角,鼠标点击位置偏移怎么办 [ 68%]

...nitEvent(e, nativeEvent = null) { var _this = this; _this._event._stoped = false; _this._event.nativeEvent = nativeEvent || e; _this._target = null; var docElem = document.documentElement var win = document.defaultView var clientBox = Browser._container.getBoundingClientRect() this._point.setTo((e.p...

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

779. laya.ui.OpenDataContextView_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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

780. laya.ui.Panel_API3.0 [ 68%]

...ra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...

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