跳到主要内容

Asset_mesh

Ploy3D / Asset_mesh

Interface: Asset_mesh

网格资源。

Hierarchy

Table of contents

Properties

Properties

classid

Optional classid: number

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

Inherited from

Asset.classid


creater

Optional creater: Asset_mesh_creater

网格数据构建器。


dynamic_morph

Optional dynamic_morph: string[]

动态网格变形数据URI数组(GPU端实时变形)。


geometry

Optional geometry: string

基础几何体URI(仅包含第1顶点缓存,meshdata与geometry&uv_set二选一)。


guid

guid: string

全球唯一ID。

Inherited from

Asset.guid


label

label: string

用户可理解的外部标签。

Inherited from

Asset.label


meshdata

Optional meshdata: string

网格数据URI(仅包含第1顶点缓存,meshdata与geometry&uv_set二选一)。


name

name: string

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

Inherited from

Asset.name


skeleton_skin

Optional skeleton_skin: string

骨骼蒙皮数据URI(用于构建第2顶点缓存)。 需要保证网格和骨骼蒙皮是匹配的。 对于从基础几何体构建的网格,蒙皮数据需要从基础几何体映射到带UV网格体。


static_morph

Optional static_morph: string[]

静态网格变形数据URI数组(构建网格资源实例时变形)。


typename

typename: string

资源类型名称。

Inherited from

Asset.typename


uv_set

Optional uv_set: string

UV数据URI。