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

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

811. 文本-位图字体 [ 84%]

...l"; Laya.stage.bgColor = "#232628"; this.loadFont(); } private loadFont(): void { var bitmapFont: BitmapFont = new BitmapFont(); bitmapFont.loadFont("../../res/bitmapFont/test.fnt", new Handler(this, this.onFontLoaded, [bitmapFont])); } private onFontLoaded(bitmapFont: BitmapFont): void { bitmapFont...

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

812. 滤镜-发光滤镜 [ 84%]

...r.load(this.apePath, Handler.create(this, this.setup)); } private setup(): void { this.createApe(); this.applayFilter(); } private createApe(): void { this.ape = new Sprite(); this.ape.loadImage(this.apePath); var texture: Texture = Laya.loader.getRes(this.apePath); this.ape.x = (Laya.stage.width - ...

来源: Laya2.0_示例 发布时间: 20260303

813. laya.spine.SpineTexture_API3.0 [ 84%]

...setFilters setFilters(minFilter: TextureFilter, magFilter: TextureFilter): void Defined in laya/spine/SpineTexture.ts:20 Parameters minFilter: TextureFilter magFilter: TextureFilter Returns void setWraps setWraps(uWrap: TextureWrap, vWrap: TextureWrap): void Defined in laya/spine/SpineTexture.ts:36 ...

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

814. laya.components.AnimationClip2D_API3.0 [ 84%]

...urns number obsolute get obsolute(): boolean set obsolute(value: boolean): void Inherited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而...

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

815. laya.d3.core.particleShuriKen.module.shape.BaseShape [ 84%]

...例。 BaseShape  clone():* 克隆。 BaseShape  cloneTo(destObject:*):void 克隆。 BaseShape  generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void 用于生成粒子初始位置和方向。 BaseShapeProperty Detailenablepro...

来源: laya_api 发布时间: 20170929

816. laya.d3.core.particleShuriKen.module.shape.BaseShape [ 84%]

...例。 BaseShape  clone():* 克隆。 BaseShape  cloneTo(destObject:*):void 克隆。 BaseShape  generatePositionAndDirection(position:Vector3, direction:Vector3, rand:Rand = null, randomSeeds:Uint32Array = null):void 用于生成粒子初始位置和方向。 BaseShapeProperty Detailenablepro...

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

817. laya.device.media.Video [ 84%]

...ode 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node  canPlayType(type:int):String 检测是否支持播放指定格式视频。 Video clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node conta...

来源: laya_api 发布时间: 20170929

818. laya.physics.ColliderBase [ 84%]

... Public Methods Show Inherited Public Methods MethodDefined By destroy():void 销毁组件 Component onReset():void 重置组件参数到默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用...

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

819. laya.d3.graphics.IndexBuffer3D [ 84%]

...用IndexBuffer3D.create()代替 实例。 IndexBuffer3D  _bindForVAO():void[override] IndexBuffer3D  bind():Boolean[override] IndexBuffer3D  destroy():void[override] IndexBuffer3D  getData():Uint16Array 获取索引数据。 IndexBuffer3D  setData(data:*, bufferOffset:int = 0, dataStartInd...

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

820. laya.utils.Dictionary [ 84%]

...子元素列表。 DictionaryPublic Methods  MethodDefined By  clear():void 清除此对象的键名列表和键值列表。 Dictionary  get(key:*):* 返回指定键名的值。 Dictionary  indexOf(key:Object):int 获取指定对象的键名索引。 Dictionary  remove(key:*):Boolean 移除...

来源: laya_api 发布时间: 20170929