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

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

831. 没有人尝试使用3d物理引擎么 [ 67%]

...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

832. 在加载多个资源的时候,加载进度异常 [ 67%]

...样调用. Laya.Handler.create(this, function(e){ console.log(e) }, null, false)关键在于最后第四个once参数,一定要传false,不然只调用一次.   在laya.core.js中Handle类的源码里可以看到,在create方法中,如果不传once参数,默认会设会true. 然后在runWith方法...

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

833. laya.ui.Clip_API3.0 [ 67%]

...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

834. laya.d3.core.render.BloomEffect [ 67%]

...为泛光特效增加污渍灰尘效果BloomEffect  fastMode : Boolean = false是否开启快速模式。该模式通过降低质量来提升性能。BloomEffect  intensity : Number 获取泛光过滤器强度,最小值为0。 BloomEffect  softKnee : Number 获取软膝盖过渡强度,在阈...

来源: Laya2.0_api 发布时间: 20190513

835. layabox3D用unity3D导出的场景文件为什么不能加相机控制,怎么加都不管用 [ 67%]

...动相机,设置相机的向z轴移动3米。true代表是局部坐标,false是相对世界坐标。 camera.transform.translate(new Vector3(0, 0, 3),false); 相机没有被其他因素限制吗? 2018-03-01 1 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前...

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

836. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 67%]

...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

837. 水平滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...

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

838. 垂直滚动条组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 67%]

...置滚动对象target以后有效。 hide 是否隐藏滚动条,默认为false。设为true后,不显示滚动条,但是可以正常滚动。 autoHide 是否自动隐藏滚动条,默认值为false。设为true后,无需滚动时隐藏滚动条,内容需要滚动时显示滚动条。 显...

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

839. socket通讯返回数据 [ 67%]

...entTarget: WebSocket, eventPhase: 2…} 关闭事件 CloseEvent {wasClean: false, code: 1006, reason: "", type: "close", target: WebSocket…} //-------------------------------------------------------------------------------------------------- 如果 运行 标“#”代码 this.socket.send("hello w...

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

840. 求救 Laya2.0下的Particle2D问题 [ 67%]

...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