• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,211 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)

521. 多点触控的使用(TypeScript-3D基础(TS)-LayaAir3D之鼠标交互) [ 76%]

...; //根据移动的距离进行旋转 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

522. 关于位图字体 使用颜色滤镜Native 和web draw call 次数不一致 [ 76%]

...么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 vector 1 相关问题 LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行...

来源: Laya_社区 发布时间: 20190405

523. 请问一下我一个3d模型,贴图是UV类型的里面好多张图,在代码里面怎么调用其它的贴图 [ 76%]

...                             transformUV.offset = new Vector2(0.099,0);                             mat.transformUV = transformUV;                         }                         var twoMc:MeshSprite3D = Sprite3D.instant...

来源: Laya_社区 发布时间: 20170311

524. laya.d3.core.HeightMap [ 76%]

... 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

525. laya.d3.core.HeightMap [ 76%]

... 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

526. laya.d3.math.Native.ConchVector3 [ 76%]

...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

527. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 76%]

...... 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

528. 脚本化(TypeScript-IDE篇(TS)-脚本使用) [ 76%]

...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

529. 脚本组件的使用(TypeScript-2D进阶篇(TS)-扩展模块) [ 76%]

...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

530. Sprite3D的克隆(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 76%]

...rite3D, parent: Node = null, worldPositionStays: boolean = true, position: Vector3 = null, rotation: Quaternion = null): Sprite3D; ``` - original :原始精灵。 - parent:父节点。 - worldPositionStays: 是否保持自身世界变换。 - position:世界位置,worldPositionStays为false时生效...

来源: Laya2.0_文档 发布时间: 20210715