大约有 209 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0043 秒)
... Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene3D()); Laya.timer.loop(1, this, this.loopfun); } loopfun(){ this.lastT = Date.now(); let dis = 1; if(!this.cubeP){ this.cubeP = ...
来源: Laya_社区 发布时间: 20200223
...ainCamera.viewportPointToRay(this.pointRay, this.ray); (this.owner as Laya.Scene3D).physicsSimulation.rayCast(this.ray,this.hitresult); console.log(Laya.MouseManager.instance.mouseX + " -=----------" + Laya.MouseManager.instance.mouseY); if (this.hitresult.succeeded) { console.log(this.hitresult.col...
来源: Laya_社区 发布时间: 20190416
...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...
来源: Laya2.0_文档 发布时间: 20210715
...,那就需要重新导出。 > 新版本骨骼挂点 ```typescript Laya.Scene3D.load("LayaScene_SceneMonkey/Conventional/SceneMonkey.ls",Laya.Handler.create(this,function(res){ Laya.stage.addChild(res); //用于挂点的精灵 var box = new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1,1,1)); v...
来源: Laya2.0_文档 发布时间: 20210714
... at PhysicsSimulation._updateCollisions (libs/laya.d3.js:15042) at Scene3D._update (libs/laya.d3.js:18977) at Stage.render (libs/laya.core.js:16632) at Stage._loop (libs/laya.core.js:16572) at loop (libs/laya.core.js:10515) 如果问题二没有出现,请把Test.ts第40...
来源: Laya_社区 发布时间: 20200426
...: ```typescript //创建场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, ...
来源: Laya2.0_文档 发布时间: 20210715
...: ```typescript //创建场景 var scene = Laya.stage.addChild(new Laya.Scene3D()); //创建相机1 var camera1 = scene.addChild(new Laya.Camera(0, 0.1, 100)); //设置相机1清除颜色 camera1.clearColor = new Laya.Vector4(0.3, 0.3, 0.3, 1.0); camera1.transform.translate(new Laya.Vector3(0, 0, ...
来源: Laya2.0_文档 发布时间: 20210715
...p"; Laya.stage.alignH = "left"; let scene = Laya.stage.addChild(new Laya.Scene3D()); let camera = new Laya.Camera(0, 0.1, 100); scene.addChild(camera); camera.transform.translate(new Laya.Vector3(0, 2, 5)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); let directionLight =...
来源: Laya_社区 发布时间: 20200915
...on (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:12452:27) at new Scene3D (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:69360:28) at BoBingPanelView.__proto.initUI (file:///E:/ycyheroH5/ycyZYWZW/Client/bin/js/bundle.js:81181:19) at BoBingPanelView.__proto.addUItoStage (file:///E:/y...
来源: Laya_社区 发布时间: 20181014
...View Index Constructors constructor Properties _extra _ownGraphics _scene _scene3D _skinBaseUrl _url autoDestroyAtClosed autoSize hitTestPrior mouseThrough name tag drawtocanvCtx unDestroyedScenes Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cach...
来源: Laya3.0_api 发布时间: 20231115