大约有 972 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0439 秒)
Laya_社区(488) Laya3.0_api(135) Laya2.0_文档(121) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(23)
...3D(new Laya.PlaneMesh(200, 50, 1, 1))); plane.transform.translate(new Laya.Vector3(0, -0.4, 0)); var material1 = new Laya.StandardMaterial(); material1.diffuseTexture = Laya.Texture2D.load("http://192.168.1.41/brick_diffuse.jpg"); plane.meshRender.material = material1; 2018-01-25 添加评...
来源: Laya_社区 发布时间: 20180125
...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? 引擎SWF动画示例,提示 TypeError: MovieClip is not a constructor clas not a const...
来源: Laya_社区 发布时间: 20181207
...空盒。 ```typescript //设置场景环境光 scene.ambientColor = new Vector3(0.6, 0, 0); ``` 效果如下(图2): (图2)
来源: Laya2.0_文档 发布时间: 20210715
...3d 坐标 少了一个 坐标轴,默认是0 , 你可以自己实现, vector3 的前两个参数 填上 2d坐标的 x y ,z 用0 ,就变成3d 坐标了,具体如何转换轴看你的需求了 2017-12-19 0 0 分享 微博 QZONE 微信 qq747899378 赞同来自: 不行啊,坐标的数值太...
来源: Laya_社区 发布时间: 20171219
... lh文件内meshSprite添加阴影属性无效 transform.pivot = new Laya.Vector3(0,1,0); 设置pivot无效~~~~~~~~~~~~~ 3D模型的锚点设置无效 ColorFilter滤镜在遮罩下无效 问题状态 最新活动: 2017-03-31 15:15 浏览: 1112 关注: 3 人 q12647 • 2017-03-31 15:17 触发了,...
来源: Laya_社区 发布时间: 20170327
...:Sprite3D, parent:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, comp...
来源: Laya2.0_api 发布时间: 20190513
...移速度越快。 (动图1-2) angulaVelocity属性的值是3维向量Vector3类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是弧度/秒。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。 angul...
来源: Laya3.0_文档 发布时间: 20251010
...a (UnityEngine.GameObject gameObject, .JSONObject node, .JSONObject child, Vector3 position, Quaternion rotation, Vector3 scale, System.String& goPath) LayaExport.DataManager.getGameObjectData (UnityEngine.GameObject gameObject, System.String gameObjectPath, .JSONObject parentsChildNodes, Boolea...
来源: Laya_社区 发布时间: 20180125
...stance:Number; if (!intersectsRayAndPlaneRD(ray, plane, distance)) { out = Vector3.ZERO; return false; } distance 赋值是在intersectsRayAndPlaneRD方法里复制的,这是传递参数赋值,没有问题奥! 2017-02-26 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 ...
来源: Laya_社区 发布时间: 20170226
...rd()这个方法返回值为void,所以不能跟向量相乘 2.Laya里面Vector3的向量不能跟数值直接相乘 你可以参考我的这种写法 2020-08-05 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 王志文 相关问题 ...
来源: Laya_社区 发布时间: 20200804