跳到主要内容

Asset_file

Ploy3D / Asset_file

Interface: Asset_file

资源文件。

Hierarchy

Table of contents

Properties

Properties

cache

Optional cache: Uint8Array

文件数据缓存。


classid

Optional classid: number

资源实例类型ID(资源包装载时指定)。

Inherited from

Asset.classid


filename

filename: string

文件名。


guid

guid: string

全球唯一ID。

Inherited from

Asset.guid


label

label: string

用户可理解的外部标签。

Inherited from

Asset.label


name

name: string

内部名称(同级唯一,优先使用名称在同级中查找)。

Inherited from

Asset.name


size

size: number

文件数据大小。


typename

typename: string

资源类型名称。

Inherited from

Asset.typename