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

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

3931. 背景音乐播放内存问题 [ 48%]

...的WebAudioSound类的dispose方法改了,改成了这样:   public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); }   如果不添加最后4行代码的话,每次切换回来内...

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

3932. 骨骼释放纹理 Templet.TEMPLET_DICTIONARY[this.url] url用错了导致Templet删不掉 [ 48%]

...掉     /**     *释放纹理     */     __proto.destroy=function(){         this._isDestroyed=true;         var tTexture;         var $each_tTexture;         /*for each*/for($each_tTexture in this.subTextureDic){             tTexture=this....

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

3933. VR场景-VR场景 [ 48%]

...ils.Stat; import common.VRCameraMoveScript; public class VRScene2 { public function VRScene2() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(Scene.load("../../../../res/threeDimen/scen...

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

3934. laya.d3.core.render.command.BlitScreenQuadCMD_API3.0 [ 48%]

...roy recover run setContext setshader create Legend Object literal Variable Function Type alias Class Class with type parameter Constructor Method Enumeration Interface Inherited method Static method

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

3935. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 view 都会增加一个 drawcall 吗 ☆☆☆☆☆☆☆☆☆☆☆ [ 48%]

...字就是会增加drawcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){

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

3936. laya2 物理引擎好多问题 [ 48%]

... ni2.play(0,false); // console.log('********');  Laya.timer.once(500,this,function(){ // Laya.Scene.load('start.json'); Laya.Scene.open('start.json'); })   2019-07-21 添加评论 已悬赏10元 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 ...

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

3937. 微信授权,获取用户信息的接口实现方法,wx.createUserInfoButton [ 48%]

...权,获取用户信息的接口实现方法,wx.createUserInfoButton     function gameLogin()     {         wx.login(         {             success: (res) =>              {                 if (res.code)                  {                     code...

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

3938. 关于要自定shader的同学 [ 48%]

...键行 sprite.shaderValue.textureHost = new_texture sprite.customRender = function (context, x, y) { _this.setShaderValue(sprite) context.ctx.setIBVB(x, y, this.iBuffer, this.vBuffer, this.iNum, null, this.customeShader, this.shaderValue, 0, 0) }经常有人问,特此标注 2018-05-31 添加评论...

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

3939. laya.d3.core.Vector3Keyframe_API3.0 [ 48%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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

3940. laya.d3.core.Vector4Keyframe_API3.0 [ 48%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Enumeration Interface

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