大约有 791 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
Laya_社区(463) Laya3.0_api(111) Laya3.0_文档(58) Laya_示例(45) Laya2.0_api(42) laya_api(39) Laya2.0_文档(24) Laya2.0_示例(9)
...; 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
...享 微博 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
...创建完毕,此方法只执行一次 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
... 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
...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
...; 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
...没有像layacmd atlas那样能实现下面功能的参数 -r --resDir <resource directory> 无法被打包的文件的输出目录 问题2: layaair-cmd ui -a 能指定项目路径吗?好像没发现这参数。 2018-01-08 0 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: https://...
来源: Laya_社区 发布时间: 20180104
...播放 Laya.stage.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/layaAir.mp4").then(() => { this.video.play(); //播放视频 }); }) } } 如果是在LayaAir IDE中运行,则VideoNode无需通过事件触发播放。但是在Chrome中,自动播放只允许静音自动播放...
来源: Laya3.0_文档 发布时间: 20251010
...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
...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