大约有 76 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0187 秒)
...libs/文件夹下,在bin/index.js文件中加载bundle.js前加入一行:[size=14][code]loadLib(cdn + "libs/laya-zip.js") [/size][/code] 在Main.ts中Laya初始化后加入:[size=14][code]LayaZip.Init(); [/size][/code]使用方法二 项目支持npm包增量编译的,使用npm安装方式比较好.(...
来源: Laya_社区 发布时间: 20211227
...attribute vec4 a_StartColor;\nattribute vec4 a_EndColor;\nattribute vec3 a_SizeRotation;\nattribute vec2 a_Radius;\nattribute vec4 a_Radian;\nattribute float a_AgeAddScale;\nattribute float a_Time;\n\nvarying vec4 v_Color;\nvarying vec2 v_TextureCoordinate;\n\nuniform float u_CurrentTime;\nuniform f...
来源: Laya_社区 发布时间: 20171109
...ht="100%">' + '<div xmlns="http://www.w3.org/1999/xhtml" style="font-size:40px">' + '<em>I</em> like ' + '<span style="color:white; text-shadow: 0px 1px 0px #999, 0px 2px 0px #888, 0px 3px 0px #777, 0px 4px 0px #666, 0px 5px 0px #555, 0px 6px 0px #444, 0px 7px 0px #333, 0px 8...
来源: Laya3.0_文档 发布时间: 20251010
...ext.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.align = "center"; text.size(Laya.stage.width, Laya.stage.height); } private function onSuccess(url:String):void { video = new Video(Laya.stage.width, Laya.stage.height); video.load(url...
来源: Laya2.0_文档 发布时间: 20210715
...geSource: CreatePixelMapExtended success, imageId:1736156081504401, desiredSize: (0, 0),imageSize: (192, 192), cost 1489 us 01-06 17:34:41.506 797 1382 I C01719/ffrt: 31958:PushTask:51 push task gid=1535 to qid=13 [AbilityManagerService] 01-06 17:34:41.510 338 942 I C02d10/HiView-SysEventSource: Che...
来源: Laya_社区 发布时间: 20250106
...过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请使用 scaleX , scaleY , scale。 Sprite 默认不接...
来源: Laya2.0_api 发布时间: 20190513
... remove_last_modify_file, into 1 times, file_dir: get_disk_available_size, Disk_available = 36209356800 B = 34531 MB pack_files, output_path is /data/log/unzip. move_input_files, create dir [/data/log/unzip/PLK-AL10_PLK-AL10C00B389_0000000000_20180814105751_tombstone] 08-14 10:57:5...
来源: Laya_社区 发布时间: 20180814
...PixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/d3/resource/TextureCube.ts:79 Parameters size: number format: TextureFormat Default value m...
来源: Laya3.0_api 发布时间: 20231102
...PixelsData destroyUnusedResources Constructors constructor new TextureCube(size: number, format: TextureFormat, mipmap?: boolean, sRGB?: boolean, premultiplyAlpha?: boolean): TextureCube Overrides BaseTexture.constructor Defined in laya/resource/TextureCube.ts:85 Parameters size: number format: Text...
来源: Laya3.0_api 发布时间: 20231115
...; tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "center"; tex.size(Laya.stage.width, Laya.stage.height); } function onSuccess(url) { this.video = new Laya.Video(Laya.stage.width, Laya.stage.height); this.video.load(url); Laya....
来源: Laya2.0_文档 发布时间: 20210714