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

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

251. laya.ui.List_API3.0 [ 90%]

...Children?: boolean): List Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from ...

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

252. laya.ui.TextInput_API3.0 [ 90%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

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

253. laya.ui.Tree_API3.0 [ 90%]

...: 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._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

254. loadImage加载资源的同时指定x,y和sprite对象指定x,y相同的值为什么结果[ 90%]

loadImage加载资源的同时指定x,y和sprite对象指定x,y相同的值为什么结果同 var ape = new Sprite(); ape.loadImage("../bin/res/images/2.png",(Laya.stage.width)/2,(Laya.stage.height)/2);   效果和 ape.x=(Laya.stage.width)/2; ape.y=(Laya.stage.height)/2;同这是为什么?...

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

255. 关于大量图片加载绘制后的内存暴增的疑问 [ 90%]

...图片资源加入到内存中,然后通过getRes 和 drawTexture 添加SPRITE对象到屏幕中。 预加载后的初始内存为29M左右 之后开始逐个添加SPRITE,在添加第1个到第80个头像的时候,内存显示稳定在29M 但是当添加第81个SPRITE头像的时候,内存...

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

256. 同一个Animation,创建多个实例只能显示一个(测试项目已上传) [ 90%]

...例只能显示一个(测试项目已上传) 描述: 创建了10个sprite,每个sprite里面有一个animation,最终只有第一个sprite的animation能够显示。(跟官方微信飞机结构类似)  问题截图:   代码:for (var i:int=0;i<10;i++){ var p:wheel=Pool.getItem...

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

257. laya.ui.RadioGroup_API3.0 [ 90%]

...: 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._skinBaseUrl Defined in laya/display/Sprite.ts:276 如果节点需要加...

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

258. Layabox2.0 sprite翻转之后,请问碰撞体应该怎么适应? [ 90%]

Layabox2.0 sprite翻转之后,请问碰撞体应该怎么适应? 在原本sprite加了collider,但是sprite翻转后collider一致了,这种情况应该怎么解决? 2019-03-30 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...

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

259. UI组件的分类与继承关系(JavaScript-IDE篇(JS)-设计模式基础) [ 90%]

...场景编辑器中直接查看显示效果。 基础显示组件包括:Sprite、Button、CheckBox、Clip、ColorPicker、ComboBox、FontClip、HScrollBar、HSlider、Image、Label、TextArea、TextInput、Radio、ProgressBar、Slider、VSlider、ScrollBar、VScrollBar、WXOpenDataViewer。 > *Tips...

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

260. U3D导出两个相同的特效。有一个显示 [ 90%]

...机场景,以及两个粒子特效。在laya中代码如下: this._createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),null,Lay...

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