大约有 2,578 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2253) Laya2.0_文档(96) Laya3.0_api(80) Laya2.0_api(74) Laya3.0_文档(43) laya_api(23) Laya_示例(7) Laya2.0_示例(2)
...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景和Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...
来源: Laya2.0_文档 发布时间: 20210715
...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景和Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...
来源: Laya2.0_文档 发布时间: 20210714
...agelaya.d3.core.sceneClasspublic class VRSceneInheritanceVRScene BaseScene Sprite Node EventDispatcher Object VRScene 类用于实现VR场景。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为...
来源: laya_api 发布时间: 20170422
导入微信小游戏的时候 WAGame.js:3 gameThirdScriptError Sprite3D: The .lh file root type must be Sprite3D,please use other function to load this file.;at api readFile success callback function Error: Sprite3D: The .lh file root type must be Sprite3D,please use other function to load ...
来源: Laya_社区 发布时间: 20180228
SimpleButton不显示、Sprite的 buttonMode 无效 AS3 中的 SimpleButton 使用后 LayaFlash 编译完不显示,使用 AS3 中的 Sprite 仿写了一个根据状态切换背景图的按钮类,编译后 buttonMode 与 useHandCursor 属性均无效,不能显示手型光标。 ...
来源: Laya_社区 发布时间: 20170222
....Loader.getRes("res/my_res/guns_test.lh"); let a :Laya.Sprite3D = new Laya.Sprite3D(); a.addChild(guns_test.getChildAt(0).clone()); a.transform.translate(new Laya.Vector3(0,1.38,-60))//transform.localPositionX-=2; a.transform.sc...
来源: Laya_社区 发布时间: 20200107
...new Laya.Scene()); scene.once(Laya.Event.HIERARCHY_LOADED, null, function (sprite) { console.log("scene HIERARCHY_LOADED"); }); scene.once(Laya.Event.LOADED, null, function (sprite) { console.log("scene LOADED"); });HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用? 2017-0...
来源: Laya_社区 发布时间: 20170619
...tionAll Packages | All Classes | Index | Frames No Frames MeshTerrainSprite3DProperties | Methods | Events | Constants Packagelaya.d3.coreClasspublic class MeshTerrainSprite3DInheritanceMeshTerrainSprite3D MeshSprite3D RenderableSprite3D Sprite3D ComponentNode Node EventDispatcher Object T...
来源: laya_api 发布时间: 20170929
...同的事件? Laya.init(400, 400, laya.webgl.WebGL); var img1 = new Laya.Sprite(); img1.loadImage('https://layaair.ldc.layabox.com/demo/h5/res/apes/monkey2.png',100,100,90,90); Laya.stage.addChild(img1); img1.on(Laya.Event.CLICK,this, function(name){ console.log(name);},['图1']); var img2 = new L...
来源: Laya_社区 发布时间: 20180621
...onent(Laya.RigidBody); cil.enabled=false; rig.enabled=false; var self:Laya.Sprite= this.owner as Laya.Sprite; var ni:Laya.Animation=new Laya.Animation(); self.addChild(ni); self.texture=null; ni.source='baozha/baozha_0.png,baozha/baozha_1.png,baozha/baozha_2.png,baozha/baozha_3.png,baozha/baozha_4.p...
来源: Laya_社区 发布时间: 20190721