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

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

71. 给3D场景scene添加鼠标事件无效 [ 63%]

给3D场景scene添加鼠标事件无效 1、3D示例工程中,有 CameraMoveScript 文件。 2、读了 CameraMoveScript 文件之后,看到里面对于鼠标的拖拉是通过给 Laya.stage 添加鼠标侦听事件实现的。 3、于是在 CameraMoveScript 初始化函数里,将事件...

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

72. 关于模型正交 [ 61%]

...懂,只会装逼 huanghuang • 2016-12-28 11:15 找到问题了, Laya.Camera(0, 0.01, 3000)); 创建时候 最后一个参数,大一点就行 huanghuang • 2016-12-28 11:15 谢谢

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

73. 相机texture内模型移动的问题 [ 61%]

...一个帖子 几天了没反应,所以重新发了一下 附件 : --> 3dcamera.zip 2022-06-13 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 3 个回复 Laya_Fred 赞同来自: 您好,看了下您给的demo,您描述的...

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

74. laya如何才能展示3dUI [ 61%]

...tps://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Camera&name=D3SpaceToD2Space  按照这个做就ok 2019-04-29 0 6 分享 微博 QZONE 微信 咕噜咕噜 赞同来自: texture.source 为空 2019-04-29 0 0 分享 微博 QZONE 微信 Kerry 赞同来自: 你好 请问你...

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

75. matter中更换texture [ 61%]

...s not a function 如何实现将相机渲染的画面显示在ui laya3d camera.rendertarget 返回的时rendertexture 不能赋值给image的texture 在2.0中如何将Browser.createElement('canvas')转为可用的Texture 问题状态 最新活动: 2017-10-25 15:58 浏览: 919 关注: 2 人

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

76. timer无法执行 [ 60%]

...但是 constructor() { super(); //添加3D场景 this.onAwake(); //加载camera和light this.onStart(); //加载地面 this.loadGround(); //加载墙面 this.loadwall(); this.loopShoot(); } public loopShoot(): void{ Laya.timer.loop(1000, this, this.shootBall); }   public shootBall(): void{ //生成...

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

77. 3D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 59%]

...Math.glsl"; #include "Scene.glsl"; #include "SceneFogInput.glsl" #include "Camera.glsl"; #include "Sprite3DVertex.glsl"; #include "VertexCommon.glsl"; #include "PBRVertex.glsl"; varying float spriteCustomData; void main() { Vertex vertex; getVertexParams(vertex); PixelParams pixel; initPixelParams(p...

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

78. 关于摄像机渲染3D到2Dsprite safari 黑屏的问题 [ 58%]

...s://layaair2.ldc2.layabox.com/demo2/?language=zh&category=3d&group=Camera&name=RenderTarget3DTo2DSprite 如链接所示,用safari打开背景直接黑了,目前有解决方案吗 Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Saf...

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

79. 我看到这段话后,我 [ 57%]

...如何在IDE看到帧动画的效果 在一个sprite3D添加子物体camera ,也能够看到其他的物体。。。请问如何在摄像机中只看到一个想看到的sprite3D对象呢? [LayaAir 2.0]unity插件安装之后只能看到account和help 问题状态 最新活动: 2019-08-13 17...

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

80. 多点触控的使用(ActionScript-3D基础(AS3)-LayaAir3D之鼠标交互) [ 56%]

...r = Vector2.scalarLength(disVector2); //根据移动的距离进行缩放 _camera.transform.translate(new Vector3(0, 0, -0.01 * (distance2 - distance))); distance = distance2; } } else if (0 === touchCount){ _text.text = "触控点归零"; first = true; lastPosition.x = 0; lastPosition.y = 0; first ...

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