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

大约有 800 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0051 秒)

361. Component旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 [ 62%]

...一直保持初始值不变,无法获得旋转之后的宽高 Component.addChild(child)添加多个对象,旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 2016-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...

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

362. 物理系统之FixedConstraint(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 62%]

...`typescript //创建盒型MeshSprite3D var box: MeshSprite3D = (this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体...

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

363. 物理系统之FixedConstraint(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 62%]

...`typescript //创建盒型MeshSprite3D var box: MeshSprite3D = (this.scene.addChild(new MeshSprite3D(PrimitiveMesh.createBox(1, 1, 1)))); //设置材质 var transform: Transform3D = box.transform; var pos: Vector3 = transform.position; pos.setValue(0, 5, 0); transform.position = pos; //创建刚体...

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

364. laya.d3.core.light.DirectionLight_API3.0 [ 62%]

...dowTwoCascadeSplits timer transform url Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCompo...

来源: Laya3.0_api 发布时间: 20231115

365. 还是同样系统BUG?场景ls可以加载,lh资源加载错误? [ 62%]

...e3d/LayaScene_SampleScene/Conventional/role.lh");        Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...

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

366. 开放数据域组件 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...nAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.addChild(opendata); opendata.pos(100,100); opendata.size(500,500); } } 3. 作用与效果 开放数据域一般用来显示好友排行榜,需要发布为微信小游戏,然后用微信开发者工具才能看到效果。...

来源: Laya3.0_文档 发布时间: 20240910

367. laya.d3.core.MeshTerrainSprite3D_API3.0 [ 62%]

... parent scene timer transform url width Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance addInputChild callLater clearTimer clone contains destroy destroyChildren event frameLoop frameOnce getChildAt getChildByName getChildIndex getComponent getCom...

来源: Laya3.0_api 发布时间: 20231102

368. 加载prefab的代码编译失败,提示“Property 'transform' does not exist on type 'Node'” [ 62%]

...(sp)             {                 var layaMonkey2  = scene.addChild(sp);                 layaMonkey2.transform.localScale = new Laya.Vector3(4, 4, 4);                 layaMonkey2.transform.translate(new Laya.Vector3(-10, 13, 0));             })); 但是编译时...

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

369. 粒子会不会有内存泄漏? [ 62%]

...); function init() { // var gameManager = new GameManager(); // Laya.stage.addChild(gameManager); Laya.loader.load("res/parts/lizi2.part", Handler.create(this, onAssetsLoaded), null, Loader.JSON); } var i = 0; function onAssetsLoaded(settings) { var sp = new Particle2D(settings); sp.play(); sp.emitt...

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

370. WXOpenDataViewer 微信开放数据域 是不是不能响应鼠标拖动事件呢? [ 62%]

...何吓吓:请问内嵌模式直接new出来的场景是直接用Laya.stage.addchild加到场景里? 内涵tv何吓吓 • 2019-03-07 09:28 @HoJanHoi:Laya.stage.addchild是加到stage上,场景和stage是不同的概念吧我觉得,因为我理解是场景也是在stage上展示的 HoJanHoi •...

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