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

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

141. laya.ui.Radio_API3.0 [ 58%]

... _graphics _graphics: AutoBitmap Inherited from Button._graphics Overrides Sprite._graphics Defined in laya/ui/Button.ts:212 _ownGraphics _ownGraphics: boolean = false Implementation of ISelect._ownGraphics Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Im...

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

142. 我浏览在线文档 关于共享材质和自身材质的代码 貌似没有什么不同? [ 58%]

...ya.Mesh.load("LayaScene_01/Assets/model/loveScene_jianzhu.lm"); // var meshSprite3D:Laya.MeshSprite3D = new Laya.MeshSprite3D(mesh); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handler.create(this,this.onCreateComplete));...

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

143. laya.ui.Tab_API3.0 [ 58%]

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

144. laya.ui.ViewStack [ 58%]

...kagelaya.uiClasspublic class ViewStackInheritanceViewStack Box UIComponent Sprite Node EventDispatcher ObjectImplements IItem ViewStack 类用于视图堆栈类,用于视图的显示等设置处理。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefi...

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

145. 内存优化方式(TypeScript-2D进阶篇(TS)-性能优化) [ 57%]

...保一个对象能够被回收,需要删除对该对象的所有引用。Sprite提供的`destory()`方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: 1. `//创建一个Sprite实例` 2. `var sp:Laya.Sprite = new Laya.Sprite();` 3. `//将sp内...

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

146. laya.ui.List_API3.0 [ 57%]

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

147. laya.display.Stage [ 57%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

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

148. 内存优化方式(JavaScript-2D进阶篇(JS)-性能优化) [ 56%]

...保一个对象能够被回收,需要删除对该对象的所有引用。Sprite提供的`destory()`方法会帮助设置内部引用为null。 例如,以下代码确保对象能够被作为垃圾回收: 1. `//创建一个Sprite实例` 2. `var sp = new Laya.Sprite();` 3. `//将sp内部引用设...

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

149. 【简单跑酷--JS版】---Lv.6 终篇 [ 56%]

... Hp.HP_TYPE_SPEED = "hp_type_speed"; //Hp Laya.class(Hp,"Hp", laya.display.Sprite); var _proto = Hp.prototype; _proto.init = function(type){ this.width = 180; this.height = 21; var texture1 = Laya.loader.getRes("res/hp_bg.png"); var texture2; switch (type) { case Hp.HP_TYPE_ENERGY: texture2 = Laya.l...

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

150. laya.display.Text_API3.0 [ 54%]

...aya.stage.addChild(text);//将 text 添加到显示列表。 } } Hierarchy Sprite Text Input Index Constructors constructor Properties _extra _onPostLayout _ownGraphics _parseEscapeChars _scene _skinBaseUrl _url autoSize hitTestPrior ignoreLang mouseThrough name tag ELLIPSIS HIDDEN RightToLeft SCROL...

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