大约有 800 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0051 秒)
Laya_社区(407) Laya2.0_文档(122) Laya3.0_api(79) Laya2.0_api(73) Laya3.0_文档(56) Laya_示例(43) laya_api(20)
...一直保持初始值不变,无法获得旋转之后的宽高 Component.addChild(child)添加多个对象,旋转之后宽和高一直保持初始值不变,无法获得旋转之后的宽高 2016-12-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与...
来源: Laya_社区 发布时间: 20161216
...`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
...`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
...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
...e3d/LayaScene_SampleScene/Conventional/role.lh"); Laya.stage.addChild(rolde); 模型要加在3d场景上 不要加在stage上 2020-01-13 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 大奥 相关问题 2.0一不小心删...
来源: Laya_社区 发布时间: 20200113
...nAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.addChild(opendata); opendata.pos(100,100); opendata.size(500,500); } } 3. 作用与效果 开放数据域一般用来显示好友排行榜,需要发布为微信小游戏,然后用微信开发者工具才能看到效果。...
来源: Laya3.0_文档 发布时间: 20240910
... 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
...(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
...); 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
...何吓吓:请问内嵌模式直接new出来的场景是直接用Laya.stage.addchild加到场景里? 内涵tv何吓吓 • 2019-03-07 09:28 @HoJanHoi:Laya.stage.addchild是加到stage上,场景和stage是不同的概念吧我觉得,因为我理解是场景也是在stage上展示的 HoJanHoi •...
来源: Laya_社区 发布时间: 20190305