大约有 3,253 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
Laya_社区(2450) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(82) Laya_示例(52) Laya2.0_示例(18)
...w Vector3(0, 3, 6)); camera.transform.rotate(new Vector3(-15, 0, 0), true, false); camera.clearColor=null; camera.addComponent(CameraMoveScript); CameraStat.show(camera, 200, 0); //添加方向光 var directionLight:DirectionLight=scene.addChild(new DirectionLight()) as DirectionLight; directionLigh...
来源: Laya_社区 发布时间: 20170331
...样调用. Laya.Handler.create(this, function(e){ console.log(e) }, null, false)关键在于最后第四个once参数,一定要传false,不然只调用一次. 在laya.core.js中Handle类的源码里可以看到,在create方法中,如果不传once参数,默认会设会true. 然后在runWith方法...
来源: Laya_社区 发布时间: 20180101
...aphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:641 _skinBaseUrl _skinBaseUrl: string Inherited from Text._skinBaseUr...
来源: Laya3.0_api 发布时间: 20231115
...为泛光特效增加污渍灰尘效果BloomEffect fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect intensity : Number 获取泛光过滤器强度,最小值为0。 BloomEffect softKnee : Number 获取软膝盖过渡强度,在阈...
来源: Laya2.0_api 发布时间: 20190513
...动相机,设置相机的向z轴移动3米。true代表是局部坐标,false是相对世界坐标。 camera.transform.translate(new Vector3(0, 0, 3),false); 相机没有被其他因素限制吗? 2018-03-01 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...
来源: Laya_社区 发布时间: 20180301
...tor3(0, 3, 3)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), true, false); //添加方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.transform.worldMatri...
来源: Laya_社区 发布时间: 20190618
...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...
来源: Laya3.0_文档 发布时间: 20251010
...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...
来源: Laya3.0_文档 发布时间: 20251010
...entTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //-------------------------------------------------------------------------------------------------- 如果 运行 标“#”代码 this.socket.send("hello w...
来源: Laya_社区 发布时间: 20180211
...2.0出问题了 if (!isFrame) { //这个是开关,按键松开时isFrame=false,按下播放尾焰特效后就置为true Laya.loader.load('../bin/testflame.part', Laya.Handler.create(this, (setting) => { let frame = new Laya.Particle2D(setting); let key = keyString; let frameX; let frameY; let...
来源: Laya_社区 发布时间: 20190723