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

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

321. 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_示例 发布时间: 20251130

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

323. 单选框组容器组件 · LayaAir3.3 · 引擎文档 · 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

324. 救命啊,遇到苹果爸爸 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

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

326. 材质-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_示例 发布时间: 20251130

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

328. 视频节点 · LayaAir3.3 · 引擎文档 · LAYABOX [ 61%]

...播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chrome中,自动播放只允许静音自动播放...

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

329. 材质-PBRStandard材质 [ 61%]

...port laya.d3.core.scene.Scene; import laya.d3.math.Vector4; import laya.d3.resource.Texture2D; import laya.d3.resource.TextureCube; import laya.d3.resource.models.SkyBox; import laya.display.Stage; import laya.events.Event; import laya.utils.Stat; /** * ... * @author ... */ public class PBRStandardM...

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

330. 分享:截屏! [ 61%]

...t laya.display.Sprite;     import laya.events.Event;     import laya.resource.HTMLCanvas;     import laya.resource.Texture;     import laya.utils.Browser;     import laya.webgl.WebGL;          public class LayaAirDemo {         private var sp:Sprite ;         public ...

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