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

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

311. 淘宝小游戏 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

... : (图2-2) js目录 与 libs目录: 项目代码和引擎库。 resources目录 与 Scene.ls: resources资源目录和场景文件Scene.ls,小游戏由于初始包的限制,建议将初始包的内容在规划好,最好能放到统一的目录下,便于初始包的剥离。 game.j...

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

312. laya.d3.core.pixelLine.PixelLineMaterial [ 64%]

...blic class PixelLineMaterialInheritancePixelLineMaterial BaseMaterial laya.resource.Resource ... Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明...

来源: Laya2.0_api 发布时间: 20190513

313. 自动图集配置 · LayaAir3.4 · 引擎文档 · LAYABOX [ 64%]

...nable(): void { //需要先加载图集再使用,注意,图集要放到resources目录下或者在构建发布配置项里手动添加为始终包含的资源目录 Laya.loader.load("resources/aaa/test.atlas").then(() => {//更多资源加载方式,可查看《资源加载》文档 this.own...

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

314. Sprite3D添加组件或脚本(ActionScript-3D基础(AS3)-LayaAir3D之精灵) [ 63%]

...LL; Laya.stage.screenMode = Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"]; Laya.loader.create(resource, Handler.create(this, onComplete)); } private function onComplete():void { //记载场景 var scene:Scene3D = Laya.stage.addC...

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

315. laya.d3.core.material.SkyProceduralMaterial [ 63%]

...ss SkyProceduralMaterialInheritanceSkyProceduralMaterial BaseMaterial laya.resource.Resource SkyProceduralMaterial 类用于实现SkyProceduralMaterial材质。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alphaTest : Boolean 获取是否...

来源: Laya2.0_api 发布时间: 20190513

316. laya.d3.graphics.VertexBuffer3D [ 63%]

...phicsClasspublic class VertexBuffer3DInheritanceVertexBuffer3D Buffer laya.resource.Resource VertexBuffer3D 类用于创建顶点缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer :...

来源: laya_api 发布时间: 20170929

317. 1.7.9LayaIDE 发布出现Cannot find module 'colors'错误 [ 63%]

...0AE3A00-14A8-45D8-BBAE-FCEFB0982E0B/d/LayaAirIDEMac_1.7.9beta.app/Contents/Resources/app/node_modules/layacmd/print.js:1:171) at Object.<anonymous> (/private/var/folders/g5/h6n06svn2z315kkr_yd3sl340000gn/T/AppTranslocation/00AE3A00-14A8-45D8-BBAE-FCEFB0982E0B/d/LayaAirIDEMac_1.7.9beta.app/Cont...

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

318. UI弹窗 · LayaAir3.0文档 · LAYABOX [ 63%]

...建完毕,此方法只执行一次 */ onAwake(): void { this.assets = ["resources/res/ui/dialog (1).png", "resources/res/ui/close.png"]; Laya.loader.load(this.assets).then( ()=>{ this.onSkinLoadComplete(); } ); } private onSkinLoadComplete(e: any = null): void { this.dialog = new Laya.Dialog();...

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

319. 缓存工具-layadcc · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

...数的介绍: 2.1 打包资源 是否把为当前平台导出的资源(resource目录)打包到native项目中。打包的资源会放到特定的目录中,以供后续生成不同平台的App。 如果希望提供单机版,则必须选择打包资源。如果是联网包,勾选打包资...

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

320. 1.7.9 UI编辑器编辑页面后发布,资源不会打包 [ 63%]

...js:685:22) at Object.<anonymous> (D:\ruanjian\LayaAirIDE_1.7.10_beta\resources\app\node_modules\layacmd\print.js:8:18) at Object.<anonymous> (D:\ruanjian\LayaAirIDE_1.7.10_beta\resources\app\node_modules\layacmd\print.js:113:3) at Module._compile (module.js:571:32) at Object.Module._exte...

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