int setagentclips(int geohandle, int prim, string clip_names[], float clip_times[], float clip_weights[], string clip_transform_groups[], int clip_layer_ids[], int layer_blend_modes[], float layer_weights[], int layer_parent_ids[])
This function can provide improved performance compared to using a combination of setagentclipnames, setagentcliptimes, and setagentclipweights, and also modifies the primitive intrinsics used for layering animation clips.
geohandle
Handle to the geometry to write to. geoself()
can be used to get a handle to the current geometry.
prim
The primitive number.
clip_names
A list of animation clip names.
clip_times
A list of times that the clips should be sampled at.
clip_weights
A list of blend weights for the animation clips.
clip_transform_groups
A list of transform groups, which specify the joints that each clip should be applied to.
clip_layer_ids
A list containing the layer that each animation clip is an input for.
layer_blend_modes
A list of blend modes for each layer. The available blend modes are defined in $HH/vex/include/crowd_cliplayers.h
.
layer_weights
A list of blend weights for each layer. The blend weight is not used for the topmost layer.
layer_parent_ids
A list containing the parent layer for each layer (or -1 for the topmost layer). This specifies a tree of animation layers.
See also | |
clip |
|
crowds |