AnimLayerRow
one blend layer: the clip it plays and how it mixes in
Fields
7 members
- additive:
boolean? whether layer transforms are added to base pose
- clip:
string name of the animation clip to blend
- loop:
boolean? whether the animation layer loops when finished
- mask:
number? bone mask bitmask index for partial body playback
- speed:
number? playback speed multiplier
- time:
number? playback position in seconds
- weight:
number? blend weight multiplier from 0 to 1
Filling In One Blend Layer
Lifecycle: Server
A row needs nothing but a clip name: playback starts at zero seconds with full weight, normal speed, no mask, and no looping.
Luau
local dummy = handles.TrainingDummydummy.AnimLayers[5] = { clip = "Wave", weight = 0.8, mask = game.Animation.Part.RightArm}local row = dummy.AnimLayers[5]if row then print(string.format("layer 5 plays %s at weight %.2f", row.clip, row.weight))end Output: layer 5 plays Wave at weight 0.80