大约有 296 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
Laya3.0_api(113) Laya2.0_api(71) laya_api(69) Laya3.0_文档(32) Laya_社区(8) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...开发语言、LayaAirIDE让项目开发更高效。(function() { var Texture = Laya.Texture; var Handler = Laya.Handler; var numLoaded = 0; var resAmount = 3; (function() { Laya.init(500, 400); // 按序列加载 monkey2.png - monkey1.png - monkey0.png // 不开启缓存 // 关闭并发加载 La...
来源: Laya_示例 发布时间: 20251130
...r.create(this, this.onAssetLoaded), null, null, 2, false); } onAssetLoaded(texture) { console.log(texture.url); // 恢复默认并发加载个数。 if (++numLoaded == 3) { Laya.loader.maxLoader = 5; console.log("All done."); } } } new Loader_Sequence();module laya { import Texture = Laya.Texture; i...
来源: Laya2.0_示例 发布时间: 20251130
...ForGraphic Index Constructors constructor Properties canvasPadding indexes texture transform useUvTransform uvTransform uvs vertices Methods getBounds init2 Constructors constructor new SkinMeshForGraphic(): SkinMeshForGraphic Defined in laya/ani/bone/canvasmesh/SkinMeshForGraphic.ts:9 创建SkinGra...
来源: Laya3.0_api 发布时间: 20231115
...erarchy MeshData SkinMeshForGraphic Index Properties canvasPadding indexes texture useUvTransform uvTransform uvs vertices Methods getBounds Properties canvasPadding canvasPadding: number = 1 Defined in laya/ani/bone/canvasmesh/MeshData.ts:43 扩展像素,用来去除黑边 indexes indexes: Uint16Ar...
来源: Laya3.0_api 发布时间: 20231115
... Properties animationTotalTime durationTimeArray gid isAnimation offX offY texture textureArray Methods addAniSprite clearAll removeAniSprite showDebugInfo Properties animationTotalTime animationTotalTime: number = 0 Defined in laya/map/TileTexSet.ts:31 动画播放的总时间 durationTimeArray dur...
来源: Laya3.0_api 发布时间: 20231115
... envDiffuseSHRed : Float32Array[write-only] Sky environmentDiffuse : BaseTexture 获取环境漫反射贴图。 Sky environmentSpecular : BaseTexture 获取环境高光贴图。 Sky texture : Texture2D 获取天空立方体纹理。 SkyDomePublic Methods MethodDefined By SkyDome() 创建...
来源: laya_api 发布时间: 20170929
...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont getMaxHeight():Number 获取最大字符高度。 BitmapFont...
来源: Laya2.0_api 发布时间: 20190513
...用Text.unregisterBitmapFont 时,默认会销毁。 BitmapFont getCharTexture(char:String):Texture 获取指定字符的字体纹理对象。 BitmapFont getCharWidth(char:String):Number 获取指定字符的宽度。 BitmapFont getMaxHeight():Number 获取最大字符高度。 BitmapFont...
来源: laya_api 发布时间: 20170929
...TMLCanvas _source : *HTMLCanvas source : *[read-only] HTMLCanvas _texture : TextureHTMLCanvasPublic Methods MethodDefined By HTMLCanvas(createCanvas:Boolean = false) 根据指定的类型,创建一个 HTMLCanvas 实例。 HTMLCanvas _getSource():*[override] HTMLCanvas clear():v...
来源: Laya2.0_api 发布时间: 20190513
...rotected All Inherited Externals Only exported Menu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourc...
来源: Laya3.0_api 发布时间: 20231115