大约有 264 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0046 秒)
Laya_社区(75) Laya3.0_api(71) Laya2.0_api(53) laya_api(38) Laya3.0_文档(11) Laya2.0_文档(10) Laya2.0_示例(3) Laya_示例(3)
...ber = 0原始宽度(包括被裁剪的透明区域)。Texture url : String = null图片地址Texture uv : ArrayTexture width : Number 实际宽度。TexturePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Texture(bitmap:Texture2D = null, uv...
来源: Laya2.0_api 发布时间: 20190513
...锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资源的URL地址。 uuid uuid: string Inherited...
来源: Laya3.0_api 发布时间: 20231115
...d from Node._scene Defined in laya/display/Node.ts:631 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:61 节点名称。 Static TEMPVECTOR3 TEMPVECTOR3: Vector3 = new Vector3() Def...
来源: Laya3.0_api 发布时间: 20231102
...需要暴露,上面就都需要加上@property()。 @property( { type : String } ) public text: string = ""; constructor() { super(); } } 5、Runtime的使用差异 3.0的场景与2.0完全不是一个概念, 3.0的runtime只能在场景上的2D根节点Scene2D或预制体的根节点上设置...
来源: Laya3.0_文档 发布时间: 20230406
...d from Node._scene Defined in laya/display/Node.ts:641 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional tag tag: string Inherited from Node.tag Defined in...
来源: Laya3.0_api 发布时间: 20231115
... { url: "res/settings/UI_EN.xml", type: Loader.XML }, { url: "res/settings/String_CN.csv", type: Loader.TEXT }, { url: "res/settings/String_EN.csv", type: Loader.TEXT }, { url: "res/audio/PK_10_BGM_Short.mp3", type: Loader.SOUND }, { url: "res/audio/PK_10_Car_ Final.mp3", type: Loader.SOUND }, { url...
来源: Laya_社区 发布时间: 20171204
...Material类 use Material.ALPHATESTVALUE instead Static MATERIAL MATERIAL: string = "MATERIAL" Defined in laya/d3/core/material/BaseMaterial.ts:14 deprecated 废弃请使用Material类 use Material.MATERIAL instead Static RENDERQUEUE_ALPHATEST RENDERQUEUE_ALPHATEST: number = 2450 Defined in laya/d3/c...
来源: Laya3.0_api 发布时间: 20231102
...,资源路径正确,就是报找不到 private createAniTemplate(name: string, len: number = 8): void { let aniFrames: Array<string> = []; for (let i: number = 0; i < len; i++) { aniFrames.push("resources/UI/role/atlasAni2/139x/" + name + i + ".png"); } ...
来源: Laya_社区 发布时间: 20230713
...游戏 MiniAdpter.init(); //初始化引擎 Laya.init(600, 400); var url:String = "res/json/Sheet1.json"; Laya.loader.load(url, Handler.create(null, onJsonLoaded,[url]), null, Loader.JSON); } private static function onJsonLoaded(url:String,data:Object):void { var arr:Array = data.Sheet1; Laya.loader...
来源: Laya_社区 发布时间: 20180108
...3() Defined in laya/d3/core/BaseCamera.ts:176 up向量 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 name name: string = "" Inherited from Node.name Defined in laya/display/Node.ts:59 节点名称。 Optional tag tag: string Inherited from Node.tag Defined in...
来源: Laya3.0_api 发布时间: 20231115