大约有 221 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0043 秒)
Laya3.0_api(69) Laya3.0_文档(46) Laya2.0_api(43) laya_api(33) Laya_社区(25) Laya2.0_文档(3) Laya2.0_示例(1) Laya_示例(1)
... "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,onLoaded)); function onLoaded(){ //创建一个UI实例 this.comp = new ui.ComponentDemoUI(); //添加到舞台上显示 Laya.stage.addChild(...
来源: Laya2.0_文档 发布时间: 20210714
... "full"; Laya.stage.bgColor = "#ffffff"; //加载图集成功后,执行onLoaded回调方法 Laya.loader.load("res/atlas/comp.atlas",Laya.Handler.create(this,this.onLoaded)); } private onLoaded():void{ //创建一个UI实例 this.comp = new ui.ComponentDemoUI(); //添加到舞台上显示 Laya.stag...
来源: Laya2.0_文档 发布时间: 20210715
... BaseTexture VideoTexture Index Constructors constructor Properties _id _isLoaded _needUpdate destroyedImmediately element lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel buffered compareMode cpuMemory currentSrc currentTime defaultTexture destroyed dimension duration ended error filte...
来源: Laya3.0_api 发布时间: 20231115
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skins).then( ()=>{ this.onLoadComplete(); } ); } private onLoadComplete(e: any = null): void { let tabA: Laya.Tab = this.createTab(this.skins[0]); tabA.pos(40, 120); tabA.labelColors = "#000000,#d3d3d3,#33...
来源: Laya3.0_文档 发布时间: 20251010
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new ReflectionProbe(): ReflectionProbe Overrides Sprite3D.constructor Defined in laya/d3/core/reflectionProbe/ReflectionProbe.ts:50 Returns ReflectionProbe Properties Optional _extra _extra: INod...
来源: Laya3.0_api 发布时间: 20231102
...件均已创建完毕,此方法只执行一次 */ onAwake(): void { Laya.loader.load(this.skins).then(() => { this.onCheckBoxSkinLoaded(); }); } private onCheckBoxSkinLoaded(e: any = null): void { let cb: Laya.CheckBox; for (let i: number = 0; i < this.COL_AMOUNT; ++i) { for (let j: number =...
来源: Laya3.0_文档 发布时间: 20251010
...组件均已创建完毕,此方法只执行一次 onAwake(): void { Laya.loader.load(this.skin).then(() => { let ComboBox: Laya.ComboBox = new Laya.ComboBox(this.skin, "item0,item1,item2,item3,item4,item5"); ComboBox.labelSize = 30; ComboBox.itemSize = 25 this.owner.addChild(ComboBox); ComboBox...
来源: Laya3.0_文档 发布时间: 20251010
...lf replaceChild runCallLater setChildIndex timerLoop timerOnce instantiate load Constructors constructor new Sprite3D(name?: string, isStatic?: boolean): Sprite3D Overrides Node.constructor Defined in laya/d3/core/Sprite3D.ts:142 创建一个 Sprite3D 实例。 Parameters Default value name: string ...
来源: Laya3.0_api 发布时间: 20231115
...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):void[static] 加载网格模板,注意:不缓存。 Terrain off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispat...
来源: Laya2.0_api 发布时间: 20190513
...ar.png", "atlas/comp/hscroll$down.png", "atlas/comp/hscroll$up.png"); Laya.loader.load(skins).then(() => { // 创建滚动条 var hs: Laya.HScrollBar = new Laya.HScrollBar(); hs.skin = "atlas/comp/hscroll.png"; hs.width = 300; hs.pos(300, 300); hs.min = 0; hs.max = 100; hs.changeHandler = new Lay...
来源: Laya3.0_文档 发布时间: 20251010