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

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

321. 重复使用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

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

...只会执行一次 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

323. 画了一个封闭的曲线,获取鼠标点击处的像素,为何坐标对不上导致拿不到正确位置的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

324. 3D场景-地形场景 [ 62%]

...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; public class TerrainScene { public function TerrainScen...

来源: Laya_示例 发布时间: 20260303

325. laya微信小游戏加载外部素材失败 急急急 [ 62%]

...享 微博 QZONE 微信 自由若水 赞同来自: 加个~试试,即 var resource = { {url:'~res/atlas/game/game.atlas',type:Laya.Load.ATLAS} } 2018-04-26 0 0 分享 微博 QZONE 微信 callback 赞同来自: 附件是 加载demo 代码非常少 可以重现我说的问题    function initLaya()...

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

326. 单选框组容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...创建完毕,此方法只执行一次 onAwake(): void { this.skins = ["resources/res/ui/radioButton (1).png", "resources/res/ui/radioButton (2).png", "resources/res/ui/radioButton (3).png"]; Laya.loader.load(this.skins).then(() => { this.onLoadComplete(); }); } private onLoadComplete(e: any = n...

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

327. 救命啊,遇到苹果爸爸 Guideline 2.5.2 [ 62%]

... Developer Program License Agreement.   This code, combined with a remote resource, can facilitate significant changes to your app’s behavior compared to when it was initially reviewed for the App Store. While you may not be using this functionality currently, it has the potential to load private...

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

328. laya.d3.graphics.IndexBuffer3D [ 62%]

...raphicsClasspublic class IndexBuffer3DInheritanceIndexBuffer3D Buffer laya.resource.Resource IndexBuffer3D 类用于创建索引缓冲。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By _bindActive : Object[static] Buffer _bindVertexBuffer : ...

来源: laya_api 发布时间: 20170929

329. 材质-BlinnPhong-反射贴图 [ 62%]

...; import laya.d3.math.Vector3; import laya.d3.math.Vector4; import laya.d3.resource.TextureCube; import laya.d3.resource.models.Mesh; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.net.Loader; import laya.utils.Handler; import laya.utils.Stat;...

来源: Laya_示例 发布时间: 20260303

330. layacmd atlas怎么指定输出的数据后缀为json? [ 61%]

...没有像layacmd atlas那样能实现下面功能的参数 -r --resDir <resource directory> 无法被打包的文件的输出目录   问题2: layaair-cmd ui -a 能指定项目路径吗?好像没发现这参数。 2018-01-08 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://...

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