跳到主要内容

Asset_image

Ploy3D / Asset_image

Interface: Asset_image

图像资源。

Hierarchy

Table of contents

Properties

Properties

classid

Optional classid: number

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

Inherited from

Asset.classid


guid

guid: string

全球唯一ID。

Inherited from

Asset.guid


has_alpha

has_alpha: boolean

是否包含A通道。


label

label: string

用户可理解的外部标签。

Inherited from

Asset.label


map_gamma

Optional map_gamma: number

表示图像灰度系数的浮点数(小于或等于0则由程序计算出)。


mime

mime: string

贴图类型。


name

name: string

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

Inherited from

Asset.name


typename

typename: string

资源类型名称。

Inherited from

Asset.typename


uri

uri: string

贴图文件URI。