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

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

501. laya.map.TileAniSprite [ 90%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = nu...

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

502. laya.resource.Texture2D [ 90%]

...onstructParams:Array = null):Texture2D[static] Texture2D generateMipmap():void 通过基础数据生成mipMap。 BaseTexture  getPixels():Uint8Array 返回图片像素。 Texture2D  load(url:String, complete:Handler):void[static] 加载Texture2D。 Texture2D  loadImageSource(source:*, premult...

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

503. laya.utils.NativeWordText_API3.0 [ 90%]

...NativeWordText.ts:2 Accessors splitRender set splitRender(value: boolean): void Defined in laya/utils/NativeWordText.ts:16 Parameters value: boolean Returns void Methods cleanCache cleanCache(): void Defined in laya/utils/NativeWordText.ts:13 Returns void setText setText(txt: string): void Defined i...

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

504. 在UI类里调用启动类的静态函数失败了 [ 90%]

...his.onLoaded), Laya.Handler.create(this, this.onLoading)); } static aaa(): void { } private onLoaded(): void { var info = new view.GameInfo(); info.zOrder = 99;//置最顶,这句话不写图层看不见 // info.init(); Laya.stage.addChild(info); } private onLoading(): void { var bj = new BeiJing(); ...

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

505. 鼠标交互-修正交互区域 [ 90%]

...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.buildWorld(); this.createLogger(); } private buildWorld(): void { this.createCoralRect(); this.createDeepSkyblueRect(); this.createDarkOrchidRect(); // 设置舞台 Laya.stage.name = "暗灰色舞台" Laya.stage.o...

来源: Laya_示例 发布时间: 20260303

506. laya.net.LoaderManager_API3.0 [ 90%]

...,默认重试一次 Methods cacheRes cacheRes(url: string, data: any): void Defined in laya/net/LoaderManager.ts:419 缓存资源。 Parameters url: string 资源地址。 data: any 要缓存的内容。 Returns void cancelLoadByUrl cancelLoadByUrl(url: string): void Defined in laya/net/LoaderMana...

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

507. laya.ui.ColorPicker [ 90%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Component clearTimer(caller:*, me...

来源: laya_api 发布时间: 20170929

508. 骨骼动画-藤蔓 [ 90%]

...age.bgColor = "#ffffff"; Stat.show(); this.startFun(); } public startFun():void { this.mAniPath = "../../res/spine/spineRes5/vine.sk"; this.mFactory = new Templet(); this.mFactory.on(Event.COMPLETE, this, this.parseComplete); this.mFactory.on(Event.ERROR, this, this.onError); this.mFactory.loadAni(t...

来源: Laya_示例 发布时间: 20260303

509. laya.d3.core.scene.BaseScene [ 90%]

...加子节点到指定的索引位置。 BaseScene addChildren(... args):void 批量增加子节点 Node  addFrustumCullingObject(renderObject:BaseRender):void BaseScene  addRenderQuene():void 添加渲染队列。 BaseScene  addShaderDefine(define:int):void 增加shader宏定义。 BaseScene...

来源: laya_api 发布时间: 20170422

510. laya.d3.core.Avatar [ 90%]

... Avatar 实例。 Avatar  _cloneDatasToAnimator(destAnimator:Animator):void 克隆数据到Avatr。 Avatar  _parse(data:*, propertyParams:Object = null, constructParams:Array = null):Avatar[static] Avatar  clone():* 克隆。 Avatar  cloneTo(destObject:*):void 克隆。 Avatar  load(url:St...

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