Asset_animation
Ploy3D / Asset_animation
Interface: Asset_animation
动画资源。
Hierarchy
↳
Asset_animation
Table of contents
Properties
Properties
bin
• bin: string
二进制动画数据文件URI。
channels
• channels: Object
动画驱动通道参数。
Type declaration
Name | Type | Description |
---|---|---|
list | Asset_wrapper_anim_channel [] | 驱动通道列表。 |
targets | string [] | 驱动目标节点资源GUID数组。 |
targets_? | Object3D [] | 驱动目标节点对象数组(获取资源时赋值,使用后清除)。 |
classid
• Optional
classid: number
资源实例类型ID(资源包装载时指定)。
Inherited from
guid
• guid: string
全球唯一ID。
Inherited from
label
• label: string
用户可理解的外部标签。
Inherited from
name
• name: string
内部名称(同级唯一,优先使用名称在同级中查找)。
Inherited from
samplers
• samplers: Object
动画采样器参数。
Type declaration
Name | Type | Description |
---|---|---|
inputMaxTS | number | 所有轨道时间戳最大值。 |
inputOffset | number | 数据文件中采样器输入(时间戳)数据字节偏移。 |
inputSize | number | 数据文件中采样器输入(时间戳)数据字节大小。 |
list | Asset_wrapper_anim_sampler [] | 采样器列表。 |
outputOffset | number | 数据文件中采样器输出(样本)数据字节偏移。 |
outputSize | number | 数据文件中采样器输出(样本)数据字节大小。 |
typename
• typename: string
资源类型名称。