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

大约有 2,528 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)

51. 微信小游戏iphone手机的位图字体不显示并报错 [ 85%]

...-06 0 0 分享 微博 QZONE 微信 152*****450 赞同来自: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px 'Helvetica Neue'; color: #00a2ff} https://ask.layabox.com/question/10252 2018-11-29 0 0 分享 微博 QZONE 微信 卜佳蕊男朋友 赞同来自: 请问您是如何...

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

52. 物理碰撞脚本和触发器脚本(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 84%]

...derer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如相对移动速度过快,可能直接越过 */ public onTriggerStay(other:Laya.PhysicsComponent...

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

53. 物理碰撞脚本和触发器脚本(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 84%]

...shRenderer.sharedMaterial as BlinnPhongMaterial).albedoColor = new Vector4(0.0, 1.0, 0.0, 1.0); } /** * 当其他碰撞器进入绑定物体碰撞器后逐帧触发(子弹在物品内时) * 注:如相对移动速度过快,可能直接越过 */ override public function onTriggerStay(other:Phy...

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

54. 一个简单的跑酷曲面shader分享 [ 84%]

...der"); this.enableVertexColor = false; this.albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 0.0); this.xoffset = 15.0; this.yoffset = -15.0; this.zdistance = 200.0; } public static initShader() { var attributeMap: object = { "a_Position": Laya.VertexMesh.MESH_POSITION0, "a_Normal": Laya.VertexMesh.MES...

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

55. BUG:添加RigidBody组件会使anchorX、anchorY失效 [ 84%]

...vent.stageX, event.stageY); this.owner.parent.addChild(sp); }p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Hannotate SC'; -webkit-text-stroke: #000000} span.s1 {font-kerning: none}添加RigidBody组件后anchorX与anchorY失效,去掉sp.addComponentIntance(body)这句则正常 附件 : --> ...

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

56. 射线BUG [ 83%]

...riter3D.line(this.ray.origin.x, this.ray.origin.y, this.ray.origin.z, 1.0, 0.0, 0.0, 1.0, 0, -1, 0, 1.0, 0.0, 0.0, 1.0); this.phasorSpriter3D.end(); } Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); Laya.stage.ad...

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

57. SpotLight介绍(TypeScript-3D基础(TS)-LayaAir3D之灯光) [ 82%]

...); //设置聚光灯位置 spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); //设置聚光灯方向 var mat = spotLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(0.15, -1.0, 0.0)); spotLight.transform.worldMatrix = mat; //设置聚光灯范围 spotLight.range = 6.0; //设...

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

58. onCollisionEnter检测不到碰撞 [ 82%]

....sharedMaterial as Laya.BlinnPhongMaterial).albedoColor = new Laya.Vector4(0.0, 0.0, 0.0, 1.0); } } 附件 : --> 2019-08-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: 没demo 和unity...

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

59. SpotLight介绍(JavaScript-3D基础(JS)-LayaAir3D之灯光) [ 82%]

...设置聚光灯位置 this.spotLight.transform.position = new Laya.Vector3(0.0, 1.2, 0.0); //设置聚光灯方向 var mat = this.spotLight.transform.worldMatrix; mat.setForward(new Laya.Vector3(0.15, -1.0, 0.0)); this.spotLight.transform.worldMatrix = mat; //设置聚光灯范围 this.spotLight.ran...

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

60. SpotLight介绍(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 82%]

... 1, 0); //设置聚光灯位置 spotLight.transform.position = new Vector3(0.0, 1.2, 0.0); //设置聚光灯的方向 var mat:Matrix4x4 = spotLight.transform.worldMatrix; mat.setForward(new Vector3(0.15, -1.0, 0.0)); directionLight.transform.worldMatrix=mat; //设置聚光灯范围 spotLight.range =...

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