大约有 390 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)
...的问题。远程加载完.ls文件,回调的参数为undefined. Laya.Scene3D.load('http://47.98.192.87/pages/index/3dres/scene/Sample.ls', Laya.Handler.create(this, function(_scene:Laya.Scene3D){ //这里打印出_scene不存在。 that._scene3D = _scene; Laya.stage.addChild(_scene); }));
来源: Laya_社区 发布时间: 20201130
...子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { super(); this.arr = []; ...
来源: Laya_社区 发布时间: 20201120
...例,麻烦测试一下,我用的是1.7.1JS版的function MousePickingScene() { MousePickingScene.super(this); this.ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); this.point = new Laya.Vector2(); this._outHitInfo = new Laya.RaycastHit(); this.phasorSpriter3D = new Laya....
来源: Laya_社区 发布时间: 20170323
... this.store.isDemo = true; Laya.Scene.open("scene/Home.scene") }), new Laya.Handler(this, (value: number) => { this._page = this.page this.mask_value = valu...
来源: Laya_社区 发布时间: 20201102
...被锁定, 无法添加新回复 发起人 q8196901 相关问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时...
来源: Laya_社区 发布时间: 20171209
...下: TypeError: Cannot read property 'length' of null at Sprite._setBelongScene (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13049:52) at Sprite._onAdded (file:///D:/work/study/project/client/test/air_war/bin/libs/laya.core.js:13129:37) at Sprite._setParent (file:///D:/wo...
来源: Laya_社区 发布时间: 20200309
...a.d3.js:4517) at MasterMoveRotate.onUpdate (bundle.js:1853) at Scene3D._updateScript (laya.d3.js:19967) at Scene3D._update (laya.d3.js:19896) at Stage.render (laya.core.js:17127) at Stage._loop (laya.core.js:17067) at loop (laya.core.js:10983) 添加后 Charac...
来源: Laya_社区 发布时间: 20201020
... 2.2.0beta4 发布微信小游戏,安卓设备加载场景黑屏 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 问题状态 最新活动: 2...
来源: Laya_社区 发布时间: 20170725
...怎么去继承 1591859396用户 • 2020-06-11 15:11 @Laya_Aaron:var MainSceneUI=(function(_super){ function MainSceneUI(){ this.Btn_Task=null; MainSceneUI.__super.call(this); } CLASS$(MainSceneUI,'ui.MainSceneUI',_super); var __proto__=MainSceneUI.prototype; __proto__.createChildren=function(){ _s...
来源: Laya_社区 发布时间: 20171213
....js:28751) at RenderQueue.__proto._render (laya.d3.js:4070) at Scene.__proto._renderScene (laya.d3.js:26518) at Camera.__proto._renderCamera (laya.d3.js:36269) at Scene.__proto.renderSubmit (laya.d3.js:26982) 2017-11-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 ...
来源: Laya_社区 发布时间: 20171120