大约有 200 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0044 秒)
...Material.getTexture Defined in laya/d3/core/material/Material.ts:927 获得纹理 Parameters name: string 属性名称 Returns BaseTexture getTextureByIndex getTextureByIndex(uniformIndex: number): BaseTexture Inherited from Material.getTextureByIndex Defined in laya/d3/core/material/Material.ts:908...
来源: Laya3.0_api 发布时间: 20231115
...impleSingletonList layabox打包app clearTextureRes无法恢复(另文本纹理释放有bug,经常出现文本渲染混乱) 使用layabox开完游戏后,部署完成以后怎么获取到QQ玩一玩里面的全局变量BK和GameStatusInfo,有接入过的兄弟分享下laya引擎层怎么跟...
来源: Laya_社区 发布时间: 20180210
...例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 纹理 skin 设置皮肤,选择对应的图像资源即可。代码中表示皮肤的地址,以字符串表示 九宫格 sizeGrid 背景图的有效缩放网格数据。数据格式:"上边距,右边距,下边距,...
来源: Laya3.0_文档 发布时间: 20251010
...aya/display/Graphics.ts:225 绘制单独图片 Parameters texture: Texture 纹理。 Default value x: number = 0 (可选)X轴偏移量。 Default value y: number = 0 (可选)Y轴偏移量。 Default value width: number = null (可选)宽度。 Default value height: number = null (可...
来源: Laya3.0_api 发布时间: 20231115
... source(value: Texture): void Defined in laya/ui/AutoBitmap.ts:92 对象的纹理资源。 Returns Texture Defined in laya/ui/AutoBitmap.ts:96 对象的纹理资源。 Parameters value: Texture Returns void width get width(): number set width(value: number): void Defined in laya/ui/AutoBitmap.ts:60 ...
来源: Laya3.0_api 发布时间: 20231115
...cene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方...
来源: Laya2.0_文档 发布时间: 20210715
...cene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象之后,再调用资源对象的`destroy()`方...
来源: Laya2.0_文档 发布时间: 20210715
...例如:#ffffff,也可以点击输入条右侧的拾色器选取颜色 纹理 skin 单选框的皮肤纹理资源。设置后需要根据皮肤资源设置stateNum皮肤状态数 纹理状态 stateNum 单选框皮肤的状态数,支持单态(1)、两态(2)和三态(3) 标签集合 l...
来源: Laya3.0_文档 发布时间: 20251016
...enu Globals "laya/resource/Texture" Texture Class Texture Texture 是一个纹理处理类。 Hierarchy Resource Texture Index Constructors constructor Properties _id _sizeGrid _stateNum destroyedImmediately lock name offsetX offsetY sourceHeight sourceWidth url uuid DEBUG Accessors bitmap cpuMemory...
来源: Laya3.0_api 发布时间: 20231115
...aya/display/Graphics.ts:225 绘制单独图片 Parameters texture: Texture 纹理。 Default value x: number = 0 (可选)X轴偏移量。 Default value y: number = 0 (可选)Y轴偏移量。 Default value width: number = null (可选)宽度。 Default value height: number = null (可...
来源: Laya3.0_api 发布时间: 20231115