ClipSource

ClipSource

A blend tree leaf node that samples and returns values from the channels of an AnimationClip.

Constructor

new ClipSource(clip, filteropt, channelNamesopt, worldopt)

Parameters:
Name Type Attributes Description
clip AnimationClip

the clip to use.

filter string <optional>

'Exclude' or 'Include'

channelNames Array.<string> <optional>
world World <optional>

the sumerian world this clip belongs to

Methods

clone() → {ClipSource}

setFilter(filteropt, channelNamesopt)

Sets the filter on the joints which the clipsource will affect

Parameters:
Name Type Attributes Description
filter string <optional>

'Exclude' or 'Include'

channelNames Array.<string> <optional>

setStartTime(newStartTime)

Set the clip start time

Parameters:
Name Type Description
newStartTime number