大约有 110 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0066 秒)
...部分资源不通用所以资源必须分多份。目前支持平台专属纹理压缩格式。 `Conventional` 通用平台,只是普通的JPG和PNG。 ##### (8) Other Setting 其他设置 `Customize Export Root Directory Name ` 自定义导出文件夹名字,默认的文件夹名字为“layaS...
来源: Laya2.0_文档 发布时间: 20200620
...部分资源不通用所以资源必须分多份。目前支持平台专属纹理压缩格式。 `Conventional` 通用平台,只是普通的JPG和PNG。 ##### (8) Other Setting 其他设置 `Customize Export Root Directory Name ` 自定义导出文件夹名字,默认的文件夹名字为“layaS...
来源: Laya2.0_文档 发布时间: 20200620
...。 Default value format: RenderTextureFormat = RenderTextureFormat.R8G8B8 纹理格式。 Default value depthStencilFormat: RenderTextureDepthFormat = RenderTextureDepthFormat.DEPTH_16 深度格式。 Default value mulSampler: number = 1 多重采样点个数。 Default value mipmap: boolean = fals...
来源: Laya3.0_api 发布时间: 20231102
...可以点击输入条右侧的拾色器选取颜色 skin 单选框的皮肤纹理资源。设置后需要根据皮肤资源设置stateNum皮肤状态数 stateNum 单选框皮肤的状态数,支持单态(1)、两态(2)和三态(3) labels 单选框组的文本标签集合。可根据文...
来源: Laya3.0_文档 发布时间: 20231012
...source/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture des...
来源: Laya3.0_api 发布时间: 20231102
...在脚本中使用代码改变节点的属性了,例如,给Sprite添加纹理等,示例代码如下所示: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type : Laya.Sprite}) public spr: Laya.Sprite; onAwake(): void { this.spr.size(5...
来源: Laya3.0_文档 发布时间: 20240528
...时候做一些自动化处理,比如导入图片时自动设置为精灵纹理,设置压缩格式等,这时可以使用IAssetProcessor接口,接口的定义如下: export interface IAssetProcessor { //在图片资源被导入前调用 onPreprocessImage?(assetImporter: IImageAssetImporter)...
来源: Laya3.0_文档 发布时间: 20240918
...mpressFormat Defined in laya/resource/BaseTexture.ts:151 是否是gpu压缩纹理格式 Returns boolean hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231102
...mpressFormat Defined in laya/resource/BaseTexture.ts:151 是否是gpu压缩纹理格式 Returns boolean hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231102
...处理是 /** * json文件读取成功后,解析里面的纹理数据,进行加载 * @param e JSON数据 */ private function onJsonComplete(e:*):void { _mapSprite = new Sprite(); Laya.stage...
来源: Laya_社区 发布时间: 20161109