TagTransformSubset
A progressor animation that interpolates a subset of the input variable into the target, based only the points of the starting and ending values. That is, no type information is necessary. After the animation is finished, the iterator and follower are set to the final value (replacing the specified subset of the iterator with the target variable). The difference between this and TransformSubset is that in TagTransformSubset, the matching algorithm will match meshes in follower only with those in the iterator that have the same tags. This allows you to have more control over how the transformation looks.
mesh& | A single iterator that specifies the variable this animation should apply to |
tag_predicate(tag) | The function that takes in a mesh's tag and dictates whether it should take place in the transformation process |
target | The target value of the selection |
time | the amount of seconds the lerp should take place over |
time | the amount of seconds the lerp should take place over |
unit_map(u) | Defaults to smooth(u). If provided, it is essentially a rate function that controls the timing of this animation. It receives normalized time from 0 to 1 and returns a normalized time from 0 to 1. |
path_arc | Defaults to the zero vector. If provided, it should be a rotation vector whose magnitude is how much rotation should take place (i.e., how much deviation from a straight line), and the direction is the axis of rotation. See Arrow for more information on how a path arc works |
An animation that interpolates the selection of the iterator to the target using point information alone. After the animation is executed, all followers and iterators are set to the final value (the original iterator where the selection is replaced with target)
func TagTransformSubset([mesh_tree] {[main] {mesh&, tag_predicate(tag)}}, target, [config] {[main] {time}, [parameterized] {time, unit_map(u), path_arc}})