大约有 1,299 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0068 秒)
Laya_社区(963) Laya3.0_api(132) Laya2.0_api(55) laya_api(55) Laya3.0_文档(49) Laya2.0_文档(43) Laya2.0_示例(1) Laya_示例(1)
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Inherited fr...
来源: Laya3.0_api 发布时间: 20231115
...0, i * (item.height + 1)); this.container.addChild(item); } } } 3,加载资源,完成后再加载界面 import WebGL = Laya.WebGL; // 程序入口 class GameMain { constructor() { Laya.init(500, 1000, WebGL); Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_WIDTH; var resPath = ['res/atlas/comp.at...
来源: Laya_社区 发布时间: 20180810
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Inherited fr...
来源: Laya3.0_api 发布时间: 20231115
...hods dispose dispose(): void Defined in laya/media/Sound.ts:38 释放声音资源。 Returns void event event(type: string, data?: any): boolean Inherited from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: an...
来源: Laya3.0_api 发布时间: 20231115
...is.upVector3 = new Laya.Vector3(0, 1, 0); //预加载所有资源 let resource = ["Export/LayaScene_JJF/Conventional/JJF.lh"]; Laya.loader.create(resource, Laya.Handler.create(this, this.onComplete)); } onComplete(){ //...
来源: Laya_社区 发布时间: 20190531
...LoadModelV03: unknown vertexDeclaration. 多通道UV的模型在Unity的资源属性面板中如图: 模型下方的名称右侧有多个 uv,uv2,uv3 …… 附件内有一个含有多通道uv的模型案例。 具体多通道 UV 怎么产生的不太清楚,我的模型是美工...
来源: Laya_社区 发布时间: 20180929
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Inherited fr...
来源: Laya3.0_api 发布时间: 20231115
...点位置获取不正确 分享:LayaAir下如何获取图集下的小图资源? 怎么获取对象的坐标 怎样获取浏览器地址传过来的GET参数 如何获取一个3D模型的长宽高? 使用getChildByName()无法得到子节点对象 如何获取图片每个像素点的RGB? ...
来源: Laya_社区 发布时间: 20190215
...地址传过来的GET参数 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 请问下loader如何强制加载一个文件,避免浏览器的缓存 IDE通过.ui自动生成的ui代码报错 在线急等,发现你们这个编译器一个bug,不能实现负负得正 ...
来源: Laya_社区 发布时间: 20171109
... Inherited from Node.url Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Inherited from Node.url Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Inherited fr...
来源: Laya3.0_api 发布时间: 20231115