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

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

751. 3D物体检测到碰撞后,被碰撞物被移除的时候过30秒再次出现?并添加到舞台 [ 72%]

... 0.5, 0);//龙卷风方法直接上升 other.owner.transform.translate(eat,true,false); //0.1秒后删除 Laya.timer.once(100, null, Wipe); function Wipe() { console.log(other._owner); //移除自己 other._owner.removeSelf(); return; } } else { var move1 = new Laya.Vector3(0.02, 0, 0); var move2 = ...

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

752. 微信小游戏wxmin图片加载有点问题 [ 72%]

...u 赞同来自: console.log(Laya) Laya.MiniAdpter.init() Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); if(false) { eval(23) } console.log(wx.request) //初始化照相机 var c...

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

753. 怎么设置3D相机,模型的绝对值 [ 72%]

...tor3(0, 10, 40)); this.camera.transform.rotate(new Laya.Vector3(0, 10, 0), true, false); 做一个按钮,专门切换到90度的视图上,怎么设置相机的绝对值,这样的写的话每次点击按钮都会有偏移值.点一次重新执行一次,怎么让他回到原来的初始值   2018-04-...

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

754. 3D粒子特效初始化卡顿 [ 72%]

... itemComplete.loaded == false){ var groupName:String = null; if(isGroup == true){ groupName = url; } Laya.loader.create(_path, Handler.create(this,OnComplete,null),null,null,null,1,true,groupName); }else{ var item:Sprite3D = Pool.getItem(_path); if(item != null){ //直接用缓存的 Instantiate(ite...

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

755. Node.ts 节点销毁之后为什么要注释掉 timer 的清理操作。 [ 72%]

...; * @param destroyChild (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 */ destroy(destroyChild: boolean = true): void { this.destroyed = true; this._destroyAllComponent(); this._parent && this._parent.removeChild(this);  //销毁子...

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

756. 设置visible=false部分界面不生效? [ 72%]

...找到Stage.as类,搜索_style.visible= false;关键字,将false改出true即可,下个版本直接更新就好了! 2016-12-19 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 157*****121 相关问题 使用钢体设置防穿后仍...

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

757. 摄像机的正交投影和透视投影(ActionScript-3D基础(AS3)-LayaAir3D之Camera) [ 72%]

...效果。 ```typescript //正交投影属性设置 camera.orthographic = true; //正交垂直矩阵距离,控制3D物体远近与显示大小 camera.orthographicVerticalSize = 7; //移动摄像机位置 camera.transform.translate(new Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.ro...

来源: Laya2.0_文档 发布时间: 20210715

758. laya.ui.AdvImage_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事...

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

759. laya.ui.Button_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display...

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

760. laya.ui.CheckBox_API3.0 [ 72%]

...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display...

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