跳到主要内容

Asset_morph

Ploy3D / Asset_morph

Interface: Asset_morph

网格变形数据。 变形数据是相对于顶点数组的,即所有子网格访问到相同的变形数据。 但我们允许未不同的子网格应用不同的变形权重。

Hierarchy

Table of contents

Properties

Properties

bin

bin: string

二进制数据文件URI。


bin_offset

bin_offset: number

映射数组数据在数据文件中的偏移(每个变形使用USHORT4存储)。


classid

Optional classid: number

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

Inherited from

Asset.classid


guid

guid: string

全球唯一ID。

Inherited from

Asset.guid


label

label: string

用户可理解的外部标签。

Inherited from

Asset.label


name

name: string

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

Inherited from

Asset.name


typename

typename: string

资源类型名称。

Inherited from

Asset.typename


vertex_count

vertex_count: number

目标网格几何体中预期的顶点数(不匹配则应用失败)。