Class: KeyframeClip

zen3d.KeyframeClip(nameopt)

new KeyframeClip(nameopt)

An KeyframeClip is a reusable set of keyframe tracks which represent an animation.
Parameters:
Name Type Attributes Default Description
name string <optional>
""
Source:

Members

endFrame :number

End frame.
Type:
  • number
Default Value:
  • 0
Source:

loop :boolean

Type:
  • boolean
Default Value:
  • true
Source:

name :string

The name of the clip.
Type:
  • string
Source:

startFrame :number

Start frame.
Type:
  • number
Default Value:
  • 0
Source:

tracks :Array.<zen3d.KeyframeTrack>

All tracks for this clip.
Type:
Source:

Methods

update(t, bindings, weight)

Update tracks.
Parameters:
Name Type Description
t number
bindings Object
weight number
Source: