大约有 89 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0033 秒)
...nimator) as Laya.Animator; console.log("11"); } public RoleMove(dir:Laya.Vector3) { let norDir:Laya.Vector3 = Laya.Vector3.ZERO; Laya.Vector3.normalize(dir,norDir); console.log(norDir); //this.sprite.transform.translate(norDir,false); // let position = Laya.Vector3.ZERO; // Laya.Vector3.add(this.s...
来源: Laya_社区 发布时间: 20191026
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/three...
来源: Laya2.0_文档 发布时间: 20210714
...umentationAll Packages | All Classes | Index | Frames No Frames ConchVector3Properties | Methods | Constants Packagelaya.d3.math.NativeClasspublic class ConchVector3InheritanceConchVector3 ObjectImplements laya.d3.core.IClone Vector3 类用于创建三维向量。 Public Properties Propert...
来源: Laya2.0_api 发布时间: 20190513
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/...
来源: Laya2.0_文档 发布时间: 20210715
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/...
来源: Laya2.0_文档 发布时间: 20210715
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/three...
来源: Laya2.0_文档 发布时间: 20210715
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new Laya.MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/...
来源: Laya2.0_文档 发布时间: 20210715
...d(new Laya.MeshSprite3D(mesh)); layaMonkey.transform.localScale = new Laya.Vector3(0.3, 0.3, 0.3); layaMonkey.transform.rotation = new Laya.Quaternion(0.7071068, 0, 0, -0.7071067); //创建材质 var customMaterial = new MultiplePassOutlineMaterial(); //漫反射贴图 Laya.Texture2D.load("res/three...
来源: Laya2.0_文档 发布时间: 20210715
...档有接口可以把向量通过矩阵转换为另外一个向量, Laya.Vector3.transformV3ToV3(direction,matrix,outVector) 目前的问题就是怎么通过法线向量normal获得它对应的矩阵? 最终的结果就是求得反射线的向量。 2020-01-13 添加评论 已悬赏10元 -->...
来源: Laya_社区 发布时间: 20200113
...l Inherited Externals Only exported Menu Globals "laya/d3/math/Native/ConchVector3" ConchVector3 Class ConchVector3 Vector3 类用于创建三维向量。 Hierarchy ConchVector3 Implements IClone Index Constructors constructor Properties elements ForwardLH ForwardRH NAN NegativeUnitX ONE UnitX UnitY...
来源: Laya3.0_api 发布时间: 20231102