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

大约有 390 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

101. Uncaught TypeError: Cannot read property '_tf' of null [ 81%]

...t read property 'displayObject' of null 运行报错 Uncaught Can not find scene:GameView.scene undefined laya的模型动画对360小游戏不适配 报game.js:22084 Uncaught getUint16 error - Out of bounds 'releaseTexture' of null TiledMap通过名字获得MapLayer怎么都是Null 问题状态 最...

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

102. js继承模式 [ 81%]

...折叠 要回复问题请先登录 发起人 as_luck 相关问题 laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 横屏模式在锁定竖屏的iphone上不能正常显示的问题 mac 用layaair2.0 ide 的编辑模式下,cpu爆满 想让一...

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

103. 物体碰撞问题 [ 81%]

物体碰撞问题 var box_1 : Laya.MeshSprite3D = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))) as Laya.MeshSprite3D; box_1.transform.translate(new Laya.Vector3(0, 5, 0)); var boxRigidBody_1 : Laya.Rigidbody3D = box_1.addComponent(Laya.Rigidbody3D); var boxShape...

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

104. 新版本射线检测不能根据layer检测了 [ 80%]

...据layer层 目前是只能给所有碰撞器分组来检测吗? _this.scene.physicsSimulation.rayCast(_this.ray, _this._outHitResult,_this._distance,_this._collisionGroup); 2019-04-19 1 条评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接...

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

105. 物体随着鼠标滑动旋转脚本 [ 80%]

...onSpeed = 0.00006;      this.mainCameraAnimation = null;     this.scene = null; } Laya.class(ObjectRotate, "ObjectRotate", Laya.Script);  //这是什么意思有什么作用 ObjectRotate.prototype._initialize = function (owner) {     var _this = this;     ObjectRotate.__super.proto...

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

106. 如何在3d场景中添加文字 [ 80%]

...家名称 */ private txtName:Laya.Text; //场景的相机 public otherGameScene:Laya.Camera; private _outPos:Laya.Vector3 = new Laya.Vector3(); this.txtName = new Laya.Text(); this.txtName.color = "#FFFFFF"; this.txtName.text = this.playerName; this.txtName.fontSize = 18; this.txtName.font = "Arial"...

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

107. 我想动态改自定义shader里的值,应该怎么写?? [ 80%]

...出layaMaxUI.ts有前缀导致报错 求解:2D项目中加载View,Laya.Scene.load应该如何使用? 自定义官方组件报错,有无官方例子下载? protobuf.js 转小游戏 动态生成方法报错 问题状态 最新活动: 2017-05-26 20:39 浏览: 2438 关注: 3 人 haoren25000 ...

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

108. Oppo加载.ls资源错误 [ 80%]

Oppo加载.ls资源错误 Laya.loader.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) => { consol...

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

109. laya.ui.Dialog_API3.0 [ 80%]

...View Dialog Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize closeEffect closeHandler closeType group hitTestPrior isModal isPopupCenter isShowEffect mouseThrough name popupEffect tag CANCEL CLOSE NO OK SURE YES drawtocanvCt...

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

110. 使用3D摄像机 · LayaAir3.0文档 · LAYABOX [ 80%]

...新的3D场景时,引擎会自动添加一个主摄像机 Main Camera 在Scene3D节点下。当然也还可以添加更多的摄像机。当我们如图2-1所示,选中主摄像机时,Scene窗口中会出现一个Camera Preview窗口,用来显示主摄像机所看到的视野,这样方便...

来源: Laya3.0_文档 发布时间: 20231214