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

大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)

31. 3D模型旋转定位问题 [ 87%]

...D对象 附件上传了我的工程文件。   如果是使用Laya.loader.create("model/build/warehouse1/warehouse1.lh", Laya.Handler.create(this, onComplete)); function onComplete() { //仓库原型 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1)...

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

32. Sprite3D-Sprite3D变换 [ 87%]

...ra.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey1 = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/Laya...

来源: Laya_示例 发布时间: 20251209

33. 跳转场景后laya.core.js就报Cannot read property 'width' of null的错误 [ 87%]

...TypeError: Cannot read property 'width' of null     at Function.Texture._create (laya.core.js:15946)     at Texture.__proto._onLoaded (laya.core.js:15750)     at EventHandler.__proto.runWith (laya.core.js:1410)     at ResInfo.__proto.event (laya.core.js:1166)     at LoaderManager.__proto._...

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

34. laya.d3.graphics.VertexBuffer3D [ 87%]

...er  canRead : Boolean[read-only] 获取是否可读。 VertexBuffer3D  create : Function[static] 创建VertexBuffer3D。 VertexBuffer3D _enableAtributes : Array[static] Buffer  vertexCount : int[read-only] 获取顶点个数。 VertexBuffer3D  vertexDeclaration : VertexDeclaration[read-only...

来源: laya_api 发布时间: 20170929

35. Windows扩展 · LayaAir3.3 · 引擎文档 · LAYABOX [ 86%]

... 生成动态链接库需要使用LayaAir提供的扩展工具(laya-ext-creator),开发者需要使用命令行进行安装,打开控制台,输入命令进行安装: npm install laya-ext-creator -g 安装完成后,接着执行命令laya-ext-creator创建LayaNative扩展模板项目。...

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

36. 自定义button 报: can not create:ScaleButton [ 86%]

LayaAir引擎 自定义button 报: can not create:ScaleButton https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3  根据这个帖子做: 在 TestView.ui 上 编译没有问题, 大概是在”5.2修改组件的类引用”没有搞对,有空的可以帮我看一下!   好有 在 layaeditor...

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

37. 在Laya中使用Matter.js的最简示例 (JS) [ 86%]

..., Render = Matter.Render, World = Matter.World, Bodies = Matter.Bodies; // create an engine var engine = Engine.create(); // engine.world.gravity.y = 0;//关闭重力 // create a renderer var render = Render.create({ element: document.body, engine: engine }); // create two boxes and a ground var box...

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

38. laya.d3.graphics.IndexBuffer3D [ 86%]

...fer  canRead : Boolean[read-only] 获取是否可读。 IndexBuffer3D  create : Function[static] 创建IndexBuffer3D。 IndexBuffer3D _enableAtributes : Array[static] Buffer  indexCount : int[read-only] 获取索引个数。 IndexBuffer3D  indexType : String[read-only] 获取索引类型。...

来源: laya_api 发布时间: 20170929

39. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 85%]

...ne3D.load("res/threeDimen/scene/ParticleScene/Example_01.ls", Laya.Handler.create(this, function(scene){ this._scene = Laya.stage.addChildAt(scene, 0); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScri...

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

40. U3D导出两个相同的特效。有一个不显示 [ 85%]

...个相机场景,以及两个粒子特效。在laya中代码如下: this._createSprite3D = 2; Laya.loader.create("res/h5/LayaScene_Effect/Effect.lh",Handler.create(this,this.onEffectOK),null,Laya.Sprite3D); Laya.loader.create("res/h5/LayaScene_aixin/aixin.lh",Handler.create(this,this.onEffectOK),nu...

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