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

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

831. laya.d3.core.particleShuriKen.module.GradientDataNumber [ 84%]

...ntDataNumber 实例。 GradientDataNumber  add(key:Number, value:Number):void 增加浮点渐变。 GradientDataNumber  clone():* 克隆。 GradientDataNumber  cloneTo(destObject:*):void 克隆。 GradientDataNumber  getAverageValue():Number 获取平均值。 GradientDataNumber  getKeyByI...

来源: laya_api 发布时间: 20170929

832. laya.d3.core.particleShuriKen.module.GradientDataNumber [ 84%]

...ntDataNumber 实例。 GradientDataNumber  add(key:Number, value:Number):void 增加浮点渐变。 GradientDataNumber  clone():* 克隆。 GradientDataNumber  cloneTo(destObject:*):void 克隆。 GradientDataNumber  getAverageValue():Number 获取平均值。 GradientDataNumber  getKeyByI...

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

833. 鼠标交互-Hold [ 84%]

...his.apePath, Handler.create(this, this.createApe)); } private createApe(): void { // 添加一只猩猩 this.ape = new Sprite(); this.ape.loadImage(this.apePath); var texture: Texture = Laya.loader.getRes(this.apePath); this.ape.pivot(texture.width / 2, texture.height / 2); this.ape.pos(Laya.stage.w...

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

834. 2.4 生命周期触发多次,连constructor都执行了两次 [ 84%]

2.4 生命周期触发多次,连constructor都执行了两次 onAwake():void { console.log("onAwake"); } onStart():void { console.log("onStart"); } onEnable():void { console.log("onEnable"); } onDisable():void { console.log("onDisable"); } 附件 : --> 2019-12-09 添加评论 免费帖 --> 分享...

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

835. 混合模式-Lighter [ 84%]

...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.renderBg); } private createPhoenixes(): void { var scaleFactor: number = Math.min( Laya.stage.width / (this.phoenixWi...

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

836. laya.d3.component.staticmesh.StaticBatchMesh_API3.0 [ 84%]

.../d3/component/staticmesh/StaticBatchMesh.ts:162 Methods destroy destroy(): void Defined in laya/d3/component/staticmesh/StaticBatchMesh.ts:179 Returns void setBuffer setBuffer(vertex: VertexBuffer3D, index: IndexBuffer3D): void Defined in laya/d3/component/staticmesh/StaticBatchMesh.ts:170 Parameter...

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

837. laya.d3.component.AvatarMask_API3.0 [ 84%]

...47 克隆。 Returns any 克隆副本。 cloneTo cloneTo(destObject: any): void Defined in laya/d3/component/AvatarMask.ts:56 克隆。 Parameters destObject: any 克隆源。 Returns void getAllTranfromPath getAllTranfromPath(): {} Defined in laya/d3/component/AvatarMask.ts:39 获得遮罩信息 Re...

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

838. UI-ProgressBar [ 84%]

...], Handler.create(this, this.onLoadComplete)); } private onLoadComplete(): void { this.progressBar = new ProgressBar("res/ui/progressBar.png"); this.progressBar.width = 400; this.progressBar.x = (Laya.stage.width - this.progressBar.width) / 2; this.progressBar.y = Laya.stage.height / 2; this.progres...

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

839. 计时器-间隔循环 [ 84%]

..._SHOWALL; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { var vGap: number = 200; this.rotateTimeBasedText = this.createText("基于时间旋转", Laya.stage.width / 2, (Laya.stage.height - vGap) / 2); this.rotateFrameRateBasedText = this.createText("基于帧频旋转", this...

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

840. 混合模式-Lighter [ 84%]

...showall"; Laya.stage.bgColor = "#232628"; this.setup(); } private setup(): void { this.createPhoenixes(); // 动态背景渲染 this.evalBgColor(); Laya.timer.frameLoop(1, this, this.renderBg); } private createPhoenixes(): void { var scaleFactor: number = Math.min( Laya.stage.width / (this.phoenixWi...

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