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

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

6301. HttpRequest详解(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 33%]

...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

6302. laya.physics.Physics_API3.0 [ 33%]

...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

6303. laya.ui.ScaleBox_API3.0 [ 33%]

...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

6304. laya.ui.Box_API3.0 [ 33%]

...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

6305. 解决跨域相关! [ 33%]

...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

6306. [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 [ 33%]

...叠 要回复问题请先登录 发起人 nothing 相关问题 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 liblayaair.so 总是崩溃,有没有官方人员帮忙解决一下啊 请问有没有方法能够获取“鼠标是否处于按下状...

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

6307. laya.ui.AdvImage_API3.0 [ 33%]

...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

6308. laya.d3.component.animator.AnimatorState_API3.0 [ 33%]

...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

6309. laya.display.FrameAnimation [ 33%]

...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

6310. laya.ui.VBox [ 33%]

...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