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

大约有 850 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0053 秒)

101. 多scene3d报内存不足问题 [ 86%]

scene3d报内存不足问题 报错:laya.physics3D.js:308 Uncaught abort("Cannot enlarge memory arrays. Either (1) compile with  -s TOTAL_MEMORY=X  with X higher than the current value 16777216, (2) compile with  -s ALLOW_MEMORY_GROWTH=1  which allows increasing the size at runtime but pre...

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

102. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 86%]

....PBRStandardMaterial(); //反射贴图 Laya.Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Laya.Handler.create(this, function(texture) { mat.albedoTexture = texture; })); //法线贴图 Laya.Texture2D.load('res/threeDimen/sc...

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

103. 1.5版本:3D Camera无法使用? [ 86%]

...与内容相关的链接 提交 1 个回复 183*****755 赞同来自: this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = (this.scene.addChild(new Laya.Camera(0, 1, 1000))) as Laya.BaseCamera; this.camera.transform.translate(new Vector3(0, 0, 500)); 这样用即可! 201...

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

104. Maximum call stack size exceeded [ 86%]

...(laya.core.js:13292)     at new Sprite (laya.core.js:13871)     at new Scene (laya.core.js:23721)     at new GameMain (bundle.js:6)     at Function.getCompInstance (laya.core.js:21214)     at Function.createComp (laya.core.js:21081)     at Function.createComp (laya.core.js:21111)     a...

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

105. 为什么我获取不到鼠标滚轮的delta值,我查看laya.events.Event 里面没有这个属性 [ 86%]

...); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; // Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()) as Laya.Scene; this.camera = this.scene.addChild(new Laya.Camera()) as Laya.Camera; this.camera.transform.position = new Laya.Vector3(0, 0, 5); this.camera.transform.rotate(new La...

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

106. 使用3D精灵 · LayaAir3.0文档 · LAYABOX [ 86%]

...1-1所示 (动图1-1) 创建好的Sprite3D,在编辑器场景中,Scene3D下会是一个空节点,如图1-2所示 (图1-2) 基本上我们创建一个Sprite3D空节点的最重要的目的是作为一个根节点,一个项目中会有很多不同功能的根节点,来方面我们管...

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

107. timer.loop帧率高于物理帧率移动父级导致子物体本地坐标异常 [ 86%]

...te = Laya.Stage.FRAME_SLOW;         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.cu...

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

108. PBRStandardMaterial材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 86%]

...= new PBRStandardMaterial(); //反射贴图 Texture2D.load('res/threeDimen/scene/PBRMaterialScene/Assets/PBR Barrel/Materials/Textures/Barrel_AlbedoTransparency.png', Handler.create(this, function(texture:Texture2D):void { mat.albedoTexture = texture; })); //法线贴图 Texture2D.load('res/threeDim...

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

109. 自定义shader-简单shader [ 86%]

...LE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; initShader(); var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.5, 1.5)); camera.addComponent(CameraMoveScript); var layaMonkey = scen...

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

110. 3Ddemo加载Unity导出场景报错resou._removeReference is not a function [ 85%]

...比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { constructor() { super();          //加载3D场景 //var scene: Laya.Scene3D = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D; Laya.Scene3D.load("res/LayaScene_terrain/Conventional/terrain.ls",Laya.Ha...

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