大约有 403 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(324) Laya2.0_文档(31) Laya3.0_文档(15) Laya3.0_api(14) Laya2.0_api(7) Laya2.0_示例(7) laya_api(5)
...bXRCameraManager Defined in laya/d3/WebXR/core/WebXRExperienceHelper.ts:96 config WebXRCameraManager Parameters camera: Camera Camera manager: WebXRSessionManager WebXRSessionManager Returns WebXRCameraManager Static setWebXRInput setWebXRInput(sessionManager: WebXRSessionManager, cameraManager: Web...
来源: Laya3.0_api 发布时间: 20231115
...背景了吗? public function Main() { //根据IDE设置初始化引擎 Config.isAlpha = true; Laya.init(480, 900); Laya.stage.bgColor = "none"; } AS3版,从Laya1.x升级过来之后,发现2.0-2.8都无法通过这个来设置背景透明。 这让人很绝望啊。。。 附件 : --> 20...
来源: Laya_社区 发布时间: 20200816
...直接上代码 var xml:XML = Laya.loader.getRes("res/config.xml"); xml = xml.firstChild; for (var node:XML = xml.firstChild; node != null; node = node.nextSibling) { var id:Number = no...
来源: Laya_社区 发布时间: 20170918
...刷新率。 如果开发者不希望固定逻辑帧率上限,可以将 Config.fixedFrames 设置为 false,关闭固定帧模式,使逻辑更新尽可能跟随平台的 requestAnimationFrame 调用频率执行。 // - 当为 true 时:渲染和逻辑更新被限制在由 Config.FPS 定义的...
来源: Laya3.0_文档 发布时间: 20251231
... // 压缩js gulp.task("compressJs", ["compressJson"], function () { if (config.compressJs) { return gulp.src(config.compressJsFilter, { base: releaseDir }) .pipe(sourcemaps.init({loadMaps:true})) .pipe(uglify({ mangle: { keep_fnames:true } })) .pipe(sourcemaps.write(releaseDir + '/../sourcemaps')) ...
来源: Laya_社区 发布时间: 20200720
...extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/frameworks/js-config.xml' severity: '错误' message: '无法打开“/Applications/LayaAirIDE_beta.app/Contents/Resources/app/extensions/bowlerhatllc.vscode-nextgenas/node_modules/flexjs/js/libs/GCL.swc”。 /Applications/LayaAirIDE_beta...
来源: Laya_社区 发布时间: 20180914
...ents/GameTowertest/.laya/compile.js [14:22:35] Starting 'compile'... rpt2: config error TS18003: No inputs were found in config file 'tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'. [14:22:35] 'compile' errored after 286 ms [14:22:35] Error: Unexpected token ...
来源: Laya_社区 发布时间: 20191115
... constructor() { this.count = 7; this.bodys = []; this.touching = []; Laya.Config.isAntialias = true; Laya.Laya.init(1200, 700, Laya.WebGL); Laya.Stat.show(); Laya.Physics.enable(); Laya.PhysicsDebugDraw.enable(); Laya.Laya.stage.alignV = Laya.Stage.ALIGN_MIDDLE; Laya.Laya.stage.alignH = Laya.Stage....
来源: Laya2.0_示例 发布时间: 20260303
... //加载IDE指定的场景 Laya.loader.load([{url:"minastc.config.json",type:Laya.Loader.JSON}],new Laya.Handler(this,function(){ this.astcconfig = Laya.loader.getRes("minastc.config.json"); for(var key in this.astcconfig){ v...
来源: Laya_社区 发布时间: 20221013
...null; this.monkeyTexture = null; // 不支持WebGL时自动切换至Canvas Config.preserveDrawingBuffer =true; Laya.init(Browser.clientWidth, Browser.clientHeight); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_FIXED_AUTO; Laya.sta...
来源: Laya2.0_示例 发布时间: 20260303