大约有 171 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0036 秒)
... = this.camera; //男角色 this.roleMan = new Laya.MeshSprite3D(Laya.Mesh.load("3d/man/CunMinNan-cunminnan.lm")); this.roleMan.transform.localScale = new Laya.Vector3(0.01, 0.01, 0.01); this.roleMan.transform.localPostion = new Laya.Vertor3(0,-0.5,-3); this.scene.addChild(this.roleMan); //添加蒙...
来源: Laya_社区 发布时间: 20180731
...ctor3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); Laya.loader.create("../../res/threeDimen/staticModel/lizardCal/lizardCaclute.lh", Laya.Handler.create(this, onComplete)); function onComplete() { var monster1 = this.scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/staticMo...
来源: Laya_示例 发布时间: 20241118
...nMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(Laya.Scene.load("../../res/threeDimen/scene/Arena/Arena.ls")); var camera = scene.addChild(new Laya.Camera(0, 0.1, 1000)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1)); camera.transform.rotate(new Laya.Vector3(-10, 0, 0), tru...
来源: Laya_示例 发布时间: 20241118
..... 切换场景编辑器时 Laya3D init error must support webGl Failed to load resource: net::ERR_FILE_NOT_FOUND Laya3D init error, must support webgl有个WIN10的电脑,系统是正版,家庭版的,跳到编辑模式就显示这个 LayaAirIDE2.2 - Laya3D init error ,must support webGL 加...
来源: Laya_社区 发布时间: 20190725
...0), true, false); camera.addComponent(CameraMoveScript); Laya.Texture2D.load("res/threeDimen/layabox.png", Laya.Handler.create(this, function (tex) { var radius = new Laya.Vector3(0, 0, 1); var radMatrix = new Laya.Matrix4x4(); var circleCount = 50; var boxMesh = Laya.PrimitiveMesh.createBox(0...
来源: Laya_社区 发布时间: 20191112
...lse); var directionLight = scene.addChild(new Laya.DirectionLight()); Laya.loader.create("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", Laya.Handler.create(this, onComplete)); function onComplete() { layaMonkey3D = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMon...
来源: Laya_示例 发布时间: 20241118
meshRender修改材质问题 warehouse1 = Laya.Sprite3D.load("model/build/warehouse1/warehouse1.lh"); scene.addChild(warehouse1); warehouse1.transform.rotate(new Laya.Vector3(0, 90, 0), false, false); warehouse1.transform.translate(new Laya.Vector3(0,0,0),false); warehouseMeshSprite3D1= warehouse1....
来源: Laya_社区 发布时间: 20171226
...tChildAt(13) as MeshSprite3D; var texture:Texture2D = Loader.getRes("res/heightMap.png") as Texture2D; //通过高度图纹理和最大高度最小高度生成MeshTerrainSprite3D var terrainSprite:MeshTerrainSprite3D = MeshTerrainSprite3...
来源: Laya_社区 发布时间: 20170505
...ils3D._createNodeByJson (laya.d3.js:17954) at Sprite3D.__proto.onAsynLoaded (laya.d3.js:30800) at ResInfo.onLoaded (laya.core.js:13189) at EventHandler.__proto.runWith (laya.core.js:726) at ResInfo.__proto.event (laya.core.js:494) at LoaderManager.__proto._endLoad (laya...
来源: Laya_社区 发布时间: 20180731
...DE_TIP : String = hidetip[static] 隐藏提示信息。 UIEvent HIERARCHY_LOADED : String = hierarchyloaded[static] 定义 hierarchyloaded 事件对象的 type 属性值。Event INPUT : String = input[static] 定义 input 事件对象的 type 属性值。Event KEY_DOWN : String = keydown[static] ...
来源: laya_api 发布时间: 20170929