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

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

111. laya.d3.renderobjs.nativeobj.NativeSkinRenderElementOBJ_API3.0 [ 58%]

...s/NativeOBJ/NativeRenderElementOBJ.ts:83 _skinnedData _skinnedData: Float32Array[] Defined in laya/d3/RenderObjs/NativeOBJ/NativeSkinRenderElementOBJ.ts:7 Accessors _geometry get _geometry(): IRenderGeometryElement set _geometry(data: IRenderGeometryElement): void Inherited from NativeRenderElementO...

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

112. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 58%]

...rial.ts:123 渲染质量。 Accessors MaterialDefine get MaterialDefine(): Array<string> Inherited from Material.MaterialDefine Defined in laya/d3/core/material/Material.ts:373 获得材质宏 Returns Array<string> MaterialProperty get MaterialProperty(): any Inherited from Material.Mate...

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

113. laya.d3.math.Matrix4x4_API3.0 [ 58%]

...tructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity invert isIdentity normalize setElementByRowC...

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

114. laya 的list组件,如果有多页信息,怎么实现翻页丫?? [ 58%]

...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = []; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") a...

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

115. Touch接口缺少stageX,stageY [ 57%]

...: private onMouseDown(e: Event): void {             var touches: Array<any> = e.touches;             if (touches && touches.length == 2) {                 this.preRadian = Math.atan2(                     touches[0].stageY - touches[1].stageY,        ...

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

116. 请大家帮助优化一下这个抛物线的代码 [ 57%]

...e radius:number = 150; //半径 private speed:number = .05; private points:Array<any> = ; private i:number = 0; constructor() { Laya.init(1100, 619, Laya.WebGL); Laya.loader.load("res/atlas/war.atlas",Laya.Handler.create(this,this.onLoaded),null,Laya.Loader.ATLAS); } private onLoaded():void{ t...

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

117. 背景音乐音效问题 [ 57%]

...出声音的浏览器能放出声音了,这是怎么回事 var lobbyRes:Array<any> = [ {url: "Lobby/Sound/BG309.mp3",type:Laya.Loader.SOUND}, } Laya.loader.load(fightLandlordRes, Laya.Handler.create(this, this.resLoaded)); Laya.SoundManager.playMusic("Lobby/Sound/BG309.mp3"); 2017-09-25 添...

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

118. 预加载图集文集在小游戏端导致内存过高 [ 57%]

预加载图集文集在小游戏端导致内存过高 let resArray: Array<any> = [ { url: hyip+"res/atlas/comp/01_shouye.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/02_zhujiemian.json", type: Loader.ATLAS }, { url: hyip+"res/atlas/comp/30_loading.json", type: Loader.ATLAS }, ]; ...

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

119. Laya.loader.create()真机不能加载3D资源,加载图片和音频可以,打开调试也没问题 [ 56%]

...  //预加载主游戏页面图片资源数组         var res:Array<any> = [              "res/atlas/heart.atlas",             "res/LayaScene_newScen/Conventional/newScen.ls",         ];          //设置progress Handler的第4个参数...

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

120. 请问laya有没有类似翻页容器(pageView)的组件? [ 56%]

...this, this.onMouse) } onOpened(param: any) { super.onOpened(param); let imgArray = ; for (let i = 1; i < 7; i++) { imgArray.push(`ui/bg_help_0${i}.png`) } this.list_rule.array = imgArray; } public updateItem(cell: Laya.Box, index: number): void { let img_rule = cell.getChildByName("img_rule") as ...

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