大约有 1,200 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0041 秒)
Laya_社区(569) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(26)
...laya/d3/utils/Physics3DUtils.ts:12 静态碰撞组 Static gravity gravity: Vector3 = new Vector3(0, -9.81, 0) Defined in laya/d3/utils/Physics3DUtils.ts:45 重力值。 Methods Static getIColliderCollision getIColliderCollision(collider1: PhysicsComponent, collider2: PhysicsComponent): boolean Defin...
来源: Laya3.0_api 发布时间: 20231115
...(0,0,0)定位。 旋转代码: var _rotateLeft = new Laya.Vector3(0, 1, 0); floor.transform.rotate(_rotateLeft, true, false); 或者 floor.transform.rotate(_rotateLeft, false, false); 2018-08-22 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请:...
来源: Laya_社区 发布时间: 20180822
... force / mass * time; 第二个问题:已知某3D刚体的applyForce(new Vector3(0, 0, 20)), mass=1,deltaTime=16。前一帧的速率是0(linearVelocity=newVector3(0, 0, 0))。如何计算出某刚体的下一帧线性速率? 上面都假设刚体的linearDampping = angularDampping = frictio...
来源: Laya_社区 发布时间: 20200531
...e.ltc"); this.sceneMap.enableFog = true; this.sceneMap.fogColor = new Laya.Vector3(0.6,0.3,0); this.sceneMap.fogStart = 5; this.sceneMap.fogRange = 50; 请问 怎么设置才能让雾 也对天空盒起作用? 2018-07-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结...
来源: Laya_社区 发布时间: 20180723
...放下,表现不同,计算有会非常大的误差 有没有Unity3d的Vector3.Angle(计算两个三维向量之间的角度)这样的方法?或求3D抛物线移动的方法或算法。 Laya的DrawCall计算方式是不是有误? 问题状态 最新活动: 2017-12-07 14:52 浏览: 1057 ...
来源: Laya_社区 发布时间: 20171207
...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor 聊天消息对话框中new一个HTMLDivElement 报错"Illegal constructor",请问这个该怎么处理? clas not a constructor Laya.Animation Play();后报错提示TypeError: clas is not a cons...
来源: Laya_社区 发布时间: 20190615
3D坐标系转换 Laya.Vector3.transformCoordinate(worldPos, this.owner.transform.localMatrix, this._tempPos); 我想将一个世界坐标转换到某个Sprite3D的本地坐标,上面这种写法,的出来的结果不对,所以问下应该怎么转换 2018-07-19 添加评论 免费帖 --> 分...
来源: Laya_社区 发布时间: 20180719
...del/dude/dude-him.lm"))); skinMesh.transform.localRotationEuler = new Laya.Vector3(0, 3.14, 0); var skinAni = skinMesh.addComponent(Laya.SkinAnimations); skinAni.templet = Laya.AnimationTemplet.load("../../res/threeDimen/skinModel/dude/dude-Take 001.lsani"); skinAni.player.play(); 2017-07-15 添加...
来源: Laya_社区 发布时间: 20170715
... value: number Returns void lightmapScaleOffset get lightmapScaleOffset(): Vector4 set lightmapScaleOffset(value: Vector4): void Inherited from PixelLineRenderer.lightmapScaleOffset Defined in laya/d3/core/render/BaseRender.ts:269 光照贴图的缩放和偏移。 Returns Vector4 Inherited from Pixe...
来源: Laya3.0_api 发布时间: 20231115
...imitiveMesh.createBox(1, 1, 1))) as MeshSprite3D; box.transform.rotate(new Vector3(0, 45, 0), false, false); //创建材质 var material:BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { //纹理加载完成后赋值 ...
来源: Laya2.0_文档 发布时间: 20210715