大约有 1,211 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)
Laya_社区(573) Laya3.0_api(166) Laya2.0_文档(165) Laya2.0_api(116) laya_api(115) Laya_示例(43) Laya3.0_文档(33)
...; //根据移动的距离进行旋转 this.owner.transform.rotate(new Laya.Vector3(1 * deltaY /2, 1 * deltaX / 2, 0), true, false); } } else if (2 === touchCount){ this._text.text = "触控点为2"; this.isTwoTouch = true; //获取两个触碰点 var touch = this._scene.input.getTouch(0); var touch2...
来源: Laya2.0_文档 发布时间: 20210715
...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vector 1 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行...
来源: Laya_社区 发布时间: 20190405
... transformUV.offset = new Vector2(0.099,0); mat.transformUV = transformUV; } var twoMc:MeshSprite3D = Sprite3D.instant...
来源: Laya_社区 发布时间: 20170311
... HeightMap creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高度图。 HeightMap getHeight(row:int, col:int):Number 获取高度。 HeightMapProperty Detailheightpropertyheight:int [read-only] 获取高度。 Implementation ...
来源: laya_api 发布时间: 20170929
... HeightMap creatFromMesh(mesh:Mesh, width:int, height:int, outCellSize:Vector2):HeightMap[static] 从网格精灵生成高度图。 HeightMap getHeight(row:int, col:int):Number 获取高度。 HeightMapProperty Detailheightpropertyheight:int [read-only] 获取高度。 Implementation ...
来源: Laya2.0_api 发布时间: 20190513
...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
...... var ele=eleroot.getChildAt(0).clone(); ele.transform.position=new Laya.Vector3(0, 0, 0); scene.addChild(ele); ... ele.transform.rotate(new Laya.Vector3(10, 0, 0), true); //这里会有效 ele.transform.localRotation=new Laya.Quaternion(0, 0,0,0); //这里也还是有效的 ele.transform.rotate(n...
来源: Laya_社区 发布时间: 20170323
...ol,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,RigidBody;与accept:res...
来源: Laya2.0_文档 发布时间: 20200603
...ol,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用RevoluteJoint,PrismaticJoint,RigidBody;与accept:res...
来源: Laya2.0_文档 发布时间: 20210714
...rite3D, parent: Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效...
来源: Laya2.0_文档 发布时间: 20210715