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

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

271. 场景渲染配置(JavaScript-3D基础(JS)-LayaAir3D之场景渲染配置) [ 81%]

...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...

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

272. 场景渲染配置(TypeScript-3D基础(TS)-LayaAir3D之场景渲染配置) [ 81%]

...3D视图。 通过Scene3D的继承关系我们可以看到它是继承于Sprite类。所以简单的可以把它当做2D中的显示对象来对待。 在LayaAir引擎中,3D和2D可以混合使用,创建的Scene 3D场景Sprite 2D容器或元素可以同时加载到舞台上。 ### 在Unity中...

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

273. laya.d3.core.scene.VRScene [ 81%]

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

274. 导入微信小游戏的时候 [ 81%]

导入微信小游戏的时候 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

275. SimpleButton不显示、Sprite的 buttonMode 无效 [ 81%]

SimpleButton不显示、Sprite的 buttonMode 无效        AS3 中的 SimpleButton 使用后 LayaFlash 编译完不显示,使用 AS3 中的 Sprite 仿写了一个根据状态切换背景图的按钮类,编译后 buttonMode 与 useHandCursor 属性均无效,不能显示手型光标。  ...

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

276. layaAir2.3克隆以及获取节点重大bug!!! [ 81%]

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

277. HIERARCHY_LOADED 和 LOADED有什么区别?为什么对scene不起作用 [ 81%]

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

278. laya.d3.core.MeshTerrainSprite3D [ 81%]

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

279. 三个图好像无法绑定不同的事件? [ 81%]

...同的事件? 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

280. laya2 物理引擎好多问题 [ 80%]

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