大约有 520 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0046 秒)
Laya_社区(399) Laya2.0_文档(39) Laya3.0_api(32) Laya_示例(19) Laya3.0_文档(15) Laya2.0_示例(9) laya_api(5) Laya2.0_api(2)
...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
...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
...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
...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
... 生成动态链接库需要使用LayaAir提供的扩展工具(laya-ext-creator),开发者需要使用命令行进行安装,打开控制台,输入命令进行安装: npm install laya-ext-creator -g 安装完成后,接着执行命令laya-ext-creator创建LayaNative扩展模板项目。...
来源: Laya3.0_文档 发布时间: 20251010
LayaAir引擎 自定义button 报: can not create:ScaleButton https://ldc.layabox.com/doc/?nav=zh-ts-2-2-3 根据这个帖子做: 在 TestView.ui 上 编译没有问题, 大概是在”5.2修改组件的类引用”没有搞对,有空的可以帮我看一下! 好有 在 layaeditor...
来源: Laya_社区 发布时间: 20170920
..., 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
...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
...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
...个相机场景,以及两个粒子特效。在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