大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0168 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
... 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
...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
...tor3(0, 10, 40)); this.camera.transform.rotate(new Laya.Vector3(0, 10, 0), true, false); 做一个按钮,专门切换到90度的视图上,怎么设置相机的绝对值,这样的写的话每次点击按钮都会有偏移值.点一次重新执行一次,怎么让他回到原来的初始值 2018-04-...
来源: Laya_社区 发布时间: 20180411
... 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
...; * @param destroyChild (可选)是否同时销毁子节点,若值为true,则销毁子节点,否则不销毁子节点。 */ destroy(destroyChild: boolean = true): void { this.destroyed = true; this._destroyAllComponent(); this._parent && this._parent.removeChild(this); //销毁子...
来源: Laya_社区 发布时间: 20220224
...找到Stage.as类,搜索_style.visible= false;关键字,将false改出true即可,下个版本直接更新就好了! 2016-12-19 1 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 157*****121 相关问题 使用钢体设置防穿后仍...
来源: Laya_社区 发布时间: 20161216
...效果。 ```typescript //正交投影属性设置 camera.orthographic = true; //正交垂直矩阵距离,控制3D物体远近与显示大小 camera.orthographicVerticalSize = 7; //移动摄像机位置 camera.transform.translate(new Vector3(0, 26.5, 45)); //旋转摄像机角度 camera.transform.ro...
来源: Laya2.0_文档 发布时间: 20210715
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231102
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115
...变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in laya/display...
来源: Laya3.0_api 发布时间: 20231115