大约有 3,679 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0089 秒)
Laya_社区(3202) Laya2.0_文档(154) Laya3.0_api(102) Laya2.0_api(82) Laya3.0_文档(70) Laya_示例(44) laya_api(25)
...ULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); 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.transform.rotate(new Laya.Vector3(-15, 0, 0), true,...
来源: Laya_示例 发布时间: 20241123
...I DocumentationAll Packages | All Classes | Index | Frames No Frames SceneProperties | Methods | Events | Constants Packagelaya.d3.core.sceneClasspublic class SceneInheritanceScene Sprite Node EventDispatcher ObjectImplements ISubmit, laya.resource.ICreateResource BaseScene 类用于实现...
来源: laya_api 发布时间: 20170929
...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = (scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true...
来源: Laya_示例 发布时间: 20241123
2.2.0beta2发布vivo小游戏报错:Can not find scene:main/MainScene.scene ERROR: Uncaught Can not find scene:main/MainScene.scene, location: /data/data/com.vivo.hybrid/app_resource/com.martian.fkltxxl.vivominigame/libs/laya.core.js:0:0 报错信息截图: file:///C:/Users/user/Documents/Te...
来源: Laya_社区 发布时间: 20191025
...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; 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.35, 1)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, fa...
来源: Laya_示例 发布时间: 20241123
...,项目的ui结构是2个场景,都在test目录下,分别为:Laya.scene和Version.scene 代码结构:新建一个LayaUI.js 最终目的:在舞台显示2个场景组合成的Laya2.0,Laya.scene通过new LayaUI类来创建显示,Version.scene直接创建 1.内嵌模式 当前版本内...
来源: Laya_社区 发布时间: 20181028
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 1000))); camera.transform.translate(new Laya.Vector3(0, 0.7, 1.3)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0),...
来源: Laya_示例 发布时间: 20241123
...LL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); this.scene = Laya.stage.addChild(new Laya.Scene()); var camera = (this.scene.addChild(new Laya.Camera(0, 0.1, 100))); camera.transform.translate(new Laya.Vector3(0, 0.6, 1.1)); camera.transform.rotate(new Laya.Vector3(-30, 0, 0), ...
来源: Laya_示例 发布时间: 20241123
...法 */ export default class LoadPage { constructor(url = null) { this._loadScene = null if (url) this.preload(url) } /** * 预加载loading页面 * @param {String} url loading页面url */ async preload(url = 'loadingpage.scene') { if (this._loadScene && url === this._loadScene.url) return le...
来源: Laya_社区 发布时间: 20181124
...Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; 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.7, 1.2)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, f...
来源: Laya_示例 发布时间: 20241123