大约有 619 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0053 秒)
...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivEle...
来源: Laya_社区 发布时间: 20190725
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'...
来源: Laya_社区 发布时间: 20170316
...port class RuntimeScript extends RuntimeScriptBase { onAwake(): void { let sprite3d: Laya.Sprite3D = this.scene3D.getChildByName("m_Sprite3D"); let ui3d: Laya.UI3D = sprite3d.getComponent(Laya.UI3D); let ui3d_root: Laya.Sprite = ui3d.sprite; console.log("ui3d_root", ui3d_root); let txtField: Laya.GT...
来源: Laya_社区 发布时间: 20251020
...Sprite时,不能将3D节点作为其属性值。当设置为3D节点Laya.Sprite3D时,不能将2D节点作为其属性值。 4.1.1 2D节点的使用 首先,如动图4-1所示,将场景中已经添加好的2D节点Sprite拖入到@property暴露的属性入口中,这样就获取到了此节...
来源: Laya3.0_文档 发布时间: 20251010
...质,这样能平铺吗? var plane = this.scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(200, 50, 1, 1))); plane.transform.translate(new Laya.Vector3(0, -0.4, 0)); var material1 = new Laya.StandardMaterial(); material1.diffuseTexture = Laya.Texture2D.load("http://192.168.1.41/brick_diffu...
来源: Laya_社区 发布时间: 20180125
...就没法控制了。 let cube = this.owner.getChildByName("Cube")as Laya.Sprite3D; cube.transform.position = new Laya.Vector3(0, 5, 0);------------------------------------------ 有人回复了,只有运动学才能控制了现在···· 附件 : --> Bugtest.zip 2024-12-09 添加评论 免费帖...
来源: Laya_社区 发布时间: 20241209
....js:13226) at goldItemNode._onAdded (libs/laya.d3.js:10592) at Sprite3D._addComponentInstance (libs/laya.core.js:13244) at Sprite3D.addComponent (libs/laya.core.js:13291) at game_scene.showPlayerGold (js/bundle.js:278) at game_scene.onPreLoadFinish (js/bundle.js:210) ...
来源: Laya_社区 发布时间: 20200326
...些! leeq3000 • 2016-12-28 15:48 这个方案也考虑了的,但是sprite3d不能显示图片,所以我自己写了个QuadMesh集成自PrimitiveMesh来做地图Tile用,但是这样的话所有地图都是sprite3d,效率会不会有影响呢(理论上2d sprite应该也是个quadmesh对...
来源: Laya_社区 发布时间: 20161226
... 请问有没有方法能够获取“鼠标是否处于按下状态”? sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 加载到舞台的3D模型不显示贴图 LayaAirIDE下如何使用mask? unity中的模型导出后在laya中显示不正常 从unity导出的场...
来源: Laya_社区 发布时间: 20180418
...ya.Mesh.load("LayaScene_01/Assets/model/loveScene_jianzhu.lm"); // var meshSprite3D:Laya.MeshSprite3D = new Laya.MeshSprite3D(mesh); //方法二:预加载,创建为Sprite3D类型 Laya.loader.create("LayaScene_01/Assets/model/loveScene_jianzhu.lm",Laya.Handler.create(this,this.onCreateComplete));...
来源: Laya_社区 发布时间: 20171109