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

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

141. laya.d3.webxr.core.WebXRExperienceHelper_API3.0 [ 64%]

...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

142. LayaAir2.0开始就无法设置透明背景了吗? [ 64%]

...背景了吗? 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

143. 用xml描述创建一个clip,interval字段妖孽无效 [ 64%]

...直接上代码             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

144. 运行配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...刷新率。 如果开发者不希望固定逻辑帧率上限,可以将 Config.fixedFrames 设置为 false,关闭固定帧模式,使逻辑更新尽可能跟随平台的 requestAnimationFrame 调用频率执行。 // - 当为 true 时:渲染和逻辑更新被限制在由 Config.FPS 定义的...

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

145. uglify压缩后的错误堆栈解析 [ 64%]

... // 压缩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

146. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 64%]

...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

147. ide 2.4 layaair2-cmd 编译报错 [ 63%]

...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

148. 2D物理-碰撞事件与传感器 [ 63%]

... 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

149. demo中的2d和3d混合 加载ktx的资源 会白色的 其他ui没有问题 [ 63%]

...  //加载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

150. Sprite-屏幕截图 [ 62%]

...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