大约有 6,598 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0134 秒)
Laya_社区(5247) Laya3.0_api(482) Laya2.0_文档(363) Laya_示例(154) Laya2.0_示例(116) Laya3.0_文档(105) Laya2.0_api(67) laya_api(64)
...yaSample() { //初始化引擎 Laya.init(1136, 640); var xhr:HttpRequest = new HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); xhr.send("res/data.data",...
来源: Laya2.0_文档 发布时间: 20210715
...n once start stop updatePhysicsByWorldRoot enable Constructors constructor new Physics(): Physics Defined in laya/physics/Physics.ts:39 Returns Physics Properties box2d box2d: any = (<any>window).box2d Defined in laya/physics/Physics.ts:19 Box2d引擎的全局引用,更多属性和api请参...
来源: Laya3.0_api 发布时间: 20231115
...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new ScaleBox(createChildren?: boolean): ScaleBox Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createC...
来源: Laya3.0_api 发布时间: 20231115
...op timerOnce toParentPoint updateZOrder fromImage Constructors constructor new Box(createChildren?: boolean): Box Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: b...
来源: Laya3.0_api 发布时间: 20231115
...w.baidu.com,这个加头后,为啥还连不上, 看代码-> this.hr=new HttpRequest(); this.hr.once(Laya.Event.PROGRESS, this, this.onHttpRequestProgress); this.hr.once(Laya.Event.COMPLETE, this, this.onHttpRequestComplete); this.hr.once(Laya.Event.ERROR, this, this.onHttpRequestError); this....
来源: Laya_社区 发布时间: 20151028
...叠 要回复问题请先登录 发起人 nothing 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 请问有没有方法能够获取“鼠标是否处于按下状...
来源: Laya_社区 发布时间: 20201209
...ce toParentPoint updateZOrder fromImage randRange Constructors constructor new AdvImage(skin?: string): AdvImage Overrides Image.constructor Defined in laya/ui/AdvImage.ts:29 Parameters Default value skin: string = null Returns AdvImage Properties Optional _extra _extra: INodeExtra Inherited from No...
来源: Laya3.0_api 发布时间: 20231102
...ripts hasListener off offAll offAllCaller on once Constructors constructor new AnimatorState(): AnimatorState Defined in laya/d3/component/Animator/AnimatorState.ts:157 创建一个 AnimatorState 实例。 Returns AnimatorState Properties _isLooping _isLooping: 0 | 1 | 2 = 0 Defined in laya/d3/compo...
来源: Laya3.0_api 发布时间: 20231115
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929
...vas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位置 sp.graphics.drawTexture(texture);//把截图绘制到精灵上 Laya.stage.addChild(sp);//...
来源: laya_api 发布时间: 20170929