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

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

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

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

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

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

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

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

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

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

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

318. 重复使用Laya.Sprite3D.load加载同一个lh类型的资源,发现第二次加载到的资源是无效的 [ 63%]

...猫大侠 • 2020-06-15 17:58 @189*****909: //预加载所有资源 var resource = [sceneUrl]; Laya.loader.create(resource, Handler.create(this, this.onComplete3D, [onProloadComplete]), new Handler(this, this.progressFun, null, false)); this.scene3d = Loader.getRes(sceneUrl) as Scene3D; Laya.stage....

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

319. [LayaAir3]LayaAir3.3使用Fairygui开发UI,滤镜效果对不上 [ 62%]

...只会执行一次 onStart(): void { fairygui.UIPackage.loadPackage("resources/LayaBUG", (pkgs) => { const view = pkgs[0].createObject("View"); console.log(view); this.owner.addChild(view.displayObject); }); } 我提出的問題是,Fairygui編輯器和Laya編輯器,使用B...

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

320. 画了一个封闭的曲线,获取鼠标点击处的像素,为何坐标对不上导致拿不到正确位置的Texture? [ 62%]

...y.Sprite; import laya.display.Stage; import laya.events.Event; import laya.resource.HTMLCanvas; import laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() { Config.isAntialias = true;//抗锯齿 //初始化引擎 Laya.init(1024...

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