大约有 3,269 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0366 秒)
...会拷贝实例对象。 BaseRender materials : Vector.<BaseMaterial> 获取潜拷贝实例材质列表,第一次使用会拷贝实例对象。 BaseRender receiveShadow : Boolean 获得是否接收阴影属性 BaseRender sharedMaterial : BaseMaterial 返回第一个材质。 BaseRender sha...
来源: laya_api 发布时间: 20170929
...的链接 提交 2 个回复 135*****336 赞同来自: Laya.BatchProgress->window.onSplashProgress(progress)->window.onSplashProgress = onProgress Laya.BatchProgress接口参数说明我在官网api文档也没查到 2023-11-03 0 0 分享 微博 QZONE 微信 Laya_Fred 赞同来自: 您好...
来源: Laya_社区 发布时间: 20231103
...js文件的引用方式 <script src='LayaAirDemo.max.js' loader='laya'></script> 第三方的js文件下载layaAir主js文件之上,确保第三方js文件加载完成 如果是AS下调用js下的方法,请直接使用__JS__()即可,譬如__JS__('alert("aaa")') 2017-04-17 0 1 分...
来源: Laya_社区 发布时间: 20170417
...create("res/scenes/LayaScene_game/game.ls", Laya.Handler.create(this, () => { let gameScene = Laya.loader.getRes("res/scenes/LayaScene_game/game.ls") as Laya.Scene; Laya.stage.addChild(gameScene); }, null), Laya.Handler.create(this, (progress) => { console.log("当前进度:", progress) },null...
来源: Laya_社区 发布时间: 20190711
...a.com/re ... ot%3B, Laya.Loader.SPINE).then((templet: Laya.SpineTemplet) => { this.skeleton = new Laya.SpineSkeleton(); this.skeleton.templet = templet; console.log("动画数量:", this.skeleton.getAnimNum()); for (let i = 0; i < this.skeleton.getAnimNum(); i++) { ...
来源: Laya_社区 发布时间: 20250928
...r: Cannot read property 'call' of undefined at Function.<anonymous> (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/bin/libs/laya.core.js:130:41) at new GameScene (file:///Users/moos/Company/Emerson-AirWar/EmersonGame/src/GameScene.js:4:19) at HomePageUI.onGameStart (file...
来源: Laya_社区 发布时间: 20180709
...ya.loader.load("skeleton/Dragon/Dragon.sk").then((templet: Laya.Templet) => { //创建模式为1,可以启用换装 this.mArmature = templet.buildArmature(0); this.mArmature.x = 300; this.mArmature.y = 350; this.mArmature.scale(0.5, 0.5); this.owner.addChild(this.mArmature); //设置动画播...
来源: Laya3.0_文档 发布时间: 20251010
...正常,我修改了下 __proto.addSize=function(add){ if (add){ if(add > 0){ if (this.autoRelease){ ((this._memorySize+add)> this.autoReleaseMaxSize)&& (this.garbageCollection((1-this._garbageCollectionRate)*this.autoReleaseMaxSize)); } this._memorySize+=add; } } } 但是貌似问题...
来源: Laya_社区 发布时间: 20170915
...E);//就是加上个2字节头 int32_t send_size = m_socket->send(asio::buffer(outMsg));//客户端能收到 std::string body_str; pbMsg.SerializeToString(&body_str);//protoBuf消息转二进制流 std::string outMsg2; wsEn...
来源: Laya_社区 发布时间: 20170822
...bjects reCaculateAllRenderObjects(baseRenders: SingletonList<BaseRender>): void Implementation of IVolumeManager.reCaculateAllRenderObjects Defined in laya/d3/component/Volume/VolumeManager.ts:137 重新更新所有Volume的信息 Parameters baseRenders: SingletonList<BaseRender> Returns...
来源: Laya3.0_api 发布时间: 20231115