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

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

71. ViewStack属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 43%]

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

72. ViewStack属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 43%]

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

73. laya.media.VideoTexture_API3.0 [ 43%]

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

74. 导航标签组组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...组件均已创建完毕,此方法只执行一次 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

75. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 43%]

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

76. 复选框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...件均已创建完毕,此方法只执行一次 */ 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

77. 下拉选项框组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...组件均已创建完毕,此方法只执行一次 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

78. laya.d3.core.Sprite3D_API3.0 [ 42%]

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

79. laya.d3.terrain.Terrain [ 42%]

...oolean 检测指定事件类型是否是鼠标事件。 EventDispatcher  load(url:String):void[static] 加载网格模板,注意:不缓存。 Terrain off(type:String, caller:*, listener:Function, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispat...

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

80. 水平滚动条组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

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