大约有 233 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0040 秒)
Laya_社区(102) Laya3.0_api(42) Laya2.0_文档(40) Laya_示例(31) Laya3.0_文档(16) laya_api(1) Laya2.0_api(1)
Layabox是免费开源的HTML5引擎解决方案,产品家族中包括LayaAir引擎、LayaFlash引擎、LayaOpen开放平台、LayaMarket SDK、LayaStore嵌入式游戏商店、LayaPlayer运行器。核心引擎LayaAir性能全球领先,支持2D、3D、VR开发,支持AS3、JavaScript、TypeScr...
来源: Laya_示例 发布时间: 20251130
...Tween使模型移动如何写法 //载入并显示鱼模型 var fish = new Laya.MeshSprite3D(Laya.Mesh.load("fish/denglongyu/denglongyuANI-denglongyu.lm")); scene.addChild(fish); var fishmaterial = new Laya.StandardMaterial(); //漫反射贴图 fishmaterial.diffuseTexture = Laya.Texture2D.load("fish...
来源: Laya_社区 发布时间: 20170918
关于材质问题 mesh.once(Laya.Event.LOADED, null, function () { var material = meshSprite.meshRender.sharedMaterials[0]; material.albedo = new Laya.Vector4(0.0,0.0,0.0,0.0); material.renderMode = Laya.BaseMaterial.RENDERMODE_OPAQUEDOUBLEFACE; material.reflectTexture = textureCube; }); 为什么...
来源: Laya_社区 发布时间: 20161215
...的内容。 教程里面说可以改变材质的反射颜色 https://ldc.layabox.com/doc/?nav=zh-js-4-0-6 模仿了一下他的方法,但是好像不生效,不知道哪里出问题了。 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1); ware...
来源: Laya_社区 发布时间: 20171225
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/GeometryElement" GeometryElement Class GeometryElement GeometryElement 类用于实现几何体元素,该类为抽象类。...
来源: Laya3.0_api 发布时间: 20231115
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/canvasmesh/MeshData" MeshData Class MeshData 网格数据 Hierarchy MeshData SkinMeshForGraphic Index Properties canvasPad...
来源: Laya3.0_api 发布时间: 20231115
...做为什么动态合不了批? class DynamicBatchTest { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambientColor = new Laya.Vector3(...
来源: Laya_社区 发布时间: 20191112
Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/BaseRender" BaseRender Class BaseRender Render 类用于渲染器的父类,抽象类不允许实例。 Hierarchy C...
来源: Laya3.0_api 发布时间: 20231115
[LayaNative3]new CommondBuffer 没有回收释放,每次用完,直接给置成null,每次buffermemory都会增长,不会下降 1. 内存泄露问题 ,const buffer = new CommandBuffer后 用完将对象置成null,buffermemory 不会下降。 2. 想自己去回收内存, 辗转到Comman...
来源: Laya_社区 发布时间: 20250717
...加帧标签等,都有方法的吗? var skinMesh = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/dude/dude-him.lm"))); skinMesh.transform.localRotationEuler = new Laya.Vector3(0, 3.14, 0); var skinAni = skinMesh.addComponent(Laya.SkinAnimations); skinAni.tem...
来源: Laya_社区 发布时间: 20170715