大约有 392 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0051 秒)
Laya_社区(261) Laya2.0_文档(45) Laya3.0_api(21) Laya3.0_文档(20) laya_api(15) Laya2.0_api(13) Laya2.0_示例(10) Laya_示例(7)
..."></div> at e.value (wagame://WAGameVConsole.html:27576:37881) at new e (wagame://WAGameVConsole.html:27576:36645) at t.value (wagame://WAGameVConsole.html:27576:32217) at t.value (wagame://WAGameVConsole.html:27576:31461) at f.e.(anonymous function) [as error] (wagame://WAGameVConsole.html...
来源: Laya_社区 发布时间: 20190423
DialogManager怎么添加遮罩层 var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.manage...
来源: Laya_社区 发布时间: 20191031
DialogManager怎么添加遮罩层 var dialogManager =new DialogManager(); var sprite1=new Laya.Sprite(); sprite1.loadImage("scdlb/首充大礼包通用素材/通用素材/背景黑色蒙版.png",0,0,1600,1080); this.scTipsPg= new ScTpisUI(); console.log(this.scTipsPg.manager); this.scTipsPg.man...
来源: Laya_社区 发布时间: 20191031
... onLoaded)); } private function onLoaded():void { //实例UI界面 listP = new ListPageUI(); Laya.stage.addChild(listP); Laya.timer.once(1000,this,onAdd);//1000毫秒后初始化list数据 listP.add.on(Event.CLICK,this,onAddClick);//点击添加按钮 listP.remove.on(Event.CLICK,this,onRemoveClick);...
来源: Laya_社区 发布时间: 20170313
... private text:Laya.Text; private _upVector3:Laya.Vector3 = new Laya.Vector3(0, 1, 0); constructor(){ Laya.alertGlobalError = true; this._upVector3 = new Laya.Vector3(0, 1, 0); //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = ...
来源: Laya_社区 发布时间: 20190605
...andom() * 0.75 + 0.25; //创建盒型MeshSprite3D var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))); //创建刚体碰撞器 var rigidBody = box.addComponent(Laya.Rigidbody3D); //创建盒子形状碰撞器 var boxShape = new Laya.BoxColliderShape(sX, sY, sZ);...
来源: Laya2.0_文档 发布时间: 20210715
...ath.random() * 0.5 + 0.8; //创建圆锥形3D模型节点对象 let cone = new Laya.Sprite3D; let coneMesh = cone.addComponent(Laya.MeshFilter); let coneRender = cone.addComponent(Laya.MeshRenderer); // 创建网格 coneMesh.sharedMesh = Laya.PrimitiveMesh.createCone(0.25, 0.75); // 创建材质 let...
来源: Laya3.0_文档 发布时间: 20250103
... sprite旋转以后,但是原来碰撞检测rect没有旋转 两个对象new了一个相同的对象,调用第一个的一个方法,走进了第二方法里 缓动Tween能用在3D物体或者特效上面吗? 求指点3d射线碰撞和UI点击穿透的问题 Laya2.6.0beta 物理引擎 刚体...
来源: Laya_社区 发布时间: 20201114
...度很小,可看成一个平面 var plane:MeshSprite3D = scene.addChild(new MeshSprite3D(new BoxMesh(4,4,0.001))) as MeshSprite3D; var material:StandardMaterial = new StandardMaterial(); material.diffuseTexture = Texture2D.load("res/threeDimen/layabox.png"); plane.meshRender.material = material; 2...
来源: Laya_社区 发布时间: 20170103
...省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发器,取消物理...
来源: Laya2.0_文档 发布时间: 20210715