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

大约有 400 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0038 秒)

101. 场景渲染配置(ActionScript-3D基础(AS3)-LayaAir3D之场景渲染配置) [ 69%]

... 场景渲染配置介绍 ###### *version :2.7.0beta Update:2020-6-11* ### Scene3D概述 ​ 场景即为LayaAir引擎的3D世界容器,用于呈现游戏的3D画面和加载各种3D元素,游戏中的摄像机,灯光,人物,物品等都需要放到场景中才能展示出画面,相当...

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

102. 导入缩放过带有MeshCollide时出错,Cannot read property 'setLocalScaling' of undefined [ 69%]

...)     at Sprite3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._activeHierarchy (laya.core.js:13784)     at Scene3D.__proto._processActive (laya.core.js:13765)         附件 : --> 2019-04-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...

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

103. LayaAir2.1.0加载unity的场景必须在游戏初始化加载吗,延迟一帧都不行,不然报异常 [ 69%]

...来自: constructor() { super();  Laya.timer.once(1,this,()=> { Laya.Scene3D.load('LayaScene_Main/Conventional/Main.ls',Laya.Handler.create(this,(scene:Laya.Scene3D)=> { Laya.stage.addChild(scene);   })); }); }   这样的加载一定包异常,不延时直接在构造函数里,执行加...

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

104. 视频 · LayaAir3.3 · 引擎文档 · LAYABOX [ 69%]

... Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya.Sprite3D; private videoTexture = new Laya.VideoTexture(); onAwake(): void { //获取场景中要添加视频纹理的3D节点 this.videoPlane = this.scene.getChil...

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

105. 材质动画的使用(JavaScript-3D基础(JS)-LayaAir3D之Animator动画) [ 69%]

...源拷贝到项目的资源目录下,那么在项目中可以直接用 `Scene3D.load()` 方法加载或预加载。 参考以下代码,因为变色太慢我们调整了速度,效果如(图1)。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/materialScene/Conventional/...

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

106. 材质动画的使用(TypeScript-3D基础(TS)-LayaAir3D之Animator动画) [ 69%]

...源拷贝到项目的资源目录下,那么在项目中可以直接用 `Scene3D.load()` 方法加载或预加载。 参考以下代码,因为变色太慢我们调整了速度,效果如(图1)。 ```typescript //加载场景 Laya.Scene3D.load("res/threeDimen/scene/materialScene/Conventional/...

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

107. Uncaught unknown animationClip version. [ 69%]

...复下 2019-05-01 1 0 分享 微博 QZONE 微信 Zong 赞同来自: Laya.Scene3D.load("LayaScene_scene1/Conventional/scene1.ls", Laya.Handler.create(this, function (s: Laya.Scene3D): void { var scene = s; Laya.stage.addChild(scene);         }));   加载代码 2019-03-13 0 0 分享 微博 Q...

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

108. Cannot read property 'props' of undefined [ 69%]

...味的1.7.16到出的场景,理论上,2.0,使用就挂……   Laya.Scene3D.load("LayaScene_Map/Map.ls",Laya.Handler.create(null,function(scene){             //加载完成获取到了Scene3d             Laya.stage.addChild(scene);         })); 附件 : --> Lay...

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

109. 多光源渲染(ActionScript-3D基础(AS3)-LayaAir3D之灯光) [ 68%]

...= this.lights.length; i 加载场景,并且添加多光源 ```typescript Scene3D.load("res/threeDimen/scene/MultiLightScene/InventoryScene_Forest.ls", Handler.create(this, function (scene: Scene3D): void { //添加到场景 Laya.stage.addChild(scene); var camera: Camera = scene.getChildByName("Mai...

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

110. localRotationEulerY旋转位置错误 [ 68%]

...private mat1: Laya.BlinnPhongMaterial;     private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super();         this.arr = [];         this.newScene = Laya.stage.addChild(new Laya.Scene3D()) as Laya.Scene3D;       ...

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