大约有 922 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0053 秒)
Laya_社区(469) Laya3.0_api(134) Laya2.0_文档(98) laya_api(88) Laya2.0_api(75) Laya_示例(42) Laya3.0_文档(16)
...erties Show Inherited Public Properties PropertyDefined By localOffset : Vector3 获取Shape的本地偏移。 ColliderShape localRotation : Quaternion 获取Shape的本地旋转。 ColliderShape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类...
来源: Laya2.0_api 发布时间: 20190513
...可以直接设置光源的高光颜色directionLight.specularColor= new Vector3(0,0,0);但是我想只针对这3d模型设置高光,threeJS中有类似的设置); 但是 想要通过meshRender.sharedMaterials操作材质的时候,获取到的的length为0。 是不是我的api使用的不对?...
来源: Laya_社区 发布时间: 20170314
...[1-2](img/1-2.gif) (动图1-2) angulaVelocity属性的值是3维向量`Vector3`类型值,Bullet使用欧拉角来描述物体的旋转,3D向量的每个分量代表绕x、y、z轴旋转的速度,单位是**弧度/秒**。动图1-2,就是在x轴分别设置了3.14与31.4的对比效果。...
来源: Laya2.0_文档 发布时间: 20210715
...main.max.js出现大小不同 确定项目只引用了 import laya.d3.math.Vector3 和 import laya.d3.math.Vector2 用IDE编译正常 用flashBuilder编译 会编译到d3 没有引用到相关的类..例如laya.d3.animation.AnimationClip laya.d3.animation.AnimationClipParser02 请问这个如何解...
来源: Laya_社区 发布时间: 20180920
...yaAir新建3D示例项目,在as开发模式下,运行报错 TypeError: Vector3 is not a constructor ide导出ui时,UI代码显示不正常在小游戏中会报错:gameThirdScriptErrorn.sort is not a function 问题状态 最新活动: 2020-02-03 09:52 浏览: 5265 关注: 2 人
来源: Laya_社区 发布时间: 20200120
...here001.lm"))) as MeshSprite3D; shared.transform.localScale = new Vector3(0.3, 0.3, 0.3); //获取角色动画组件 var ani:Animator=shared.getChildAt(0).getComponentByType(Animator) as Animator; //监听默认动画...
来源: Laya_社区 发布时间: 20180118
...ffect.lh") as Laya.Sprite3D; particleSprite3D.transform.translate(new Laya.Vector3(0,20,0)) this.scene.addChild(particleSprite3D); 用u3d导出的粒子效果,不能移动粒子的位置 2018-05-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20180516
...D(1 , 1, 1, 1))) as Laya.MeshSprite3D; plane.transform.position = new Laya.Vector3(0,0,0); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/aaa.png"); material.diffuseTexture.mipmap = false; plane.meshRender.material = material; ...
来源: Laya_社区 发布时间: 20180412
...(Rigidbody3D); this.rigid.overrideGravity = true; this.rigid.gravity = new Vector3(0,-0.3,0); this.rigid.restitution = 100; 附件 : --> Laya2.6__.rar 2020-05-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 NilZ...
来源: Laya_社区 发布时间: 20200515
...t(Laya.stage.getChildAt(0).getChildByName("B").transform.position,new Laya.Vector3(0,1,0),false,false) 指向错误 下面两句修正方向 Laya.stage.getChildAt(0).getChildByName("A").transform.rotation.invert(Laya.stage.getChildAt(0).getChildByName("A").transform.rotation) Laya.stage.getChil...
来源: Laya_社区 发布时间: 20220923