大约有 3,906 项符合查询结果, 库内数据总量为 31,629 项。 (搜索耗时: 0.0076 秒)
Laya_社区(3621) Laya2.0_文档(85) Laya3.0_api(81) Laya3.0_文档(67) laya_api(18) Laya2.0_api(17) Laya2.0_示例(10) Laya_示例(7)
...ion Main() { //初始化引擎 Laya.init(600, 400); //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //示例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(te...
来源: Laya_示例 发布时间: 20251223
...ion Main() { //初始化引擎 Laya.init(600, 400); //加载引擎需要的资源 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, onLoaded)); } private function onLoaded():void { //示例UI界面 var testView:TestView = new TestView(); Laya.stage.addChild(te...
来源: Laya2.0_示例 发布时间: 20200319
...D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Sprite3D __VECTOR3__ : Vector3[static] TerrainPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Terrain(terrainRes:TerrainRes = null) 创建一个 MeshSpr...
来源: Laya2.0_api 发布时间: 20190513
...件 例如游戏的一些简单数据Loading 必须要有的 用来加载资源的GameInfo 游戏介绍(不介绍的话 一会不知道咋玩)Background 背景 (如果游戏一团黑色 估计玩的玩家心里阴影很大的说。。嘿嘿)Floor 地板 (既然是跑酷 那就得有跑酷...
来源: Laya_社区 发布时间: 20160722
... Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By RenderableSprite3D(name:String = null) 创建一个 RenderableSprite3D 实例。 RenderableSprite3D...
来源: laya_api 发布时间: 20170929
...ue, true); //程序入口 Laya.init(750, 1334); onLoaded(); /* //激活资源版本控制 Laya.ResourceVersion.enable("version.json", Laya.Handler.create(null, beginLoad), Laya.ResourceVersion.FILENAME_VERSION); function beginLoad(){ Laya.loader.load("res/atlas/comp.atlas", Laya.Handle...
来源: Laya_社区 发布时间: 20180507
... Transform3D[read-only] 获取精灵变换。 Sprite3D url : String 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By LightSprite() 创建一个 LightSprite 实例。 LightSprite _getSortID(renderElement:IRenderable,...
来源: laya_api 发布时间: 20170929
...简单,只是在stage上面播放一个spine动画, 相应代码文件和资源请查看附件): Main.tsLaya.init(750, 1334, Laya.WebGL); Laya.stage.scaleMode = "showall"; Laya.stage.screenMode = "none"; Laya.stage.alignH = "center"; Laya.stage.alignV = "middle"; const spine: Laya.Skeleton = n...
来源: Laya_社区 发布时间: 20181120
...D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By RenderableSprite3D(name:String) 创建一个 RenderableSprite3D 实例。 RenderableSprite3D _clon...
来源: Laya2.0_api 发布时间: 20190513
...D[read-only] 获取精灵变换。 Sprite3D url : String[read-only] 获取资源的URL地址。 Sprite3DPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By SkinnedMeshSprite3D(mesh:Mesh = null, name:String = null) 创建一个 MeshSprite3D 实例。 Skinn...
来源: Laya2.0_api 发布时间: 20190513