跳到主要内容

Asset_animation

Ploy3D / Asset_animation

Interface: Asset_animation

动画资源。

Hierarchy

Table of contents

Properties

Properties

bin

bin: string

二进制动画数据文件URI。


channels

channels: Object

动画驱动通道参数。

Type declaration

NameTypeDescription
listAsset_wrapper_anim_channel[]驱动通道列表。
targetsstring[]驱动目标节点资源GUID数组。
targets_?Object3D[]驱动目标节点对象数组(获取资源时赋值,使用后清除)。

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


samplers

samplers: Object

动画采样器参数。

Type declaration

NameTypeDescription
inputMaxTSnumber所有轨道时间戳最大值。
inputOffsetnumber数据文件中采样器输入(时间戳)数据字节偏移。
inputSizenumber数据文件中采样器输入(时间戳)数据字节大小。
listAsset_wrapper_anim_sampler[]采样器列表。
outputOffsetnumber数据文件中采样器输出(样本)数据字节偏移。
outputSizenumber数据文件中采样器输出(样本)数据字节大小。

typename

typename: string

资源类型名称。

Inherited from

Asset.typename