Set User Scale (LogiX node)
Set User Scale | ||
---|---|---|
Inputs | ||
Impulse | Set | |
UserRoot | UserRoot | |
Float | Scale | |
Float | AnimationTime | |
Outputs | ||
Impulse | OnSet | |
Impulse | OnAnimationFinished |
The Set User Scale node sets the scale of the specified UserRoot
to the provided top float value upon receiving an impulse with an optional animation time.
Usage
The Scale
input sets the all three scale values on UserRoot
to the specified value. It only accepts one float, and cannot scale individual axis.
The OnSet
output fires an impulse when the input UserRoot
has been successfully scaled as a result of an impulse received at Set
(even if the user was already the same scale). An impulse will not be fired if there is no valid UserRoot
input.
An optional AnimationTime
input is available, which when set will scale the user for the specified duration of time, linearly interpolated. Upon completing the scale, an OnAnimationFinished
impulse will fire, even if this value is 0 or unset.
Examples
The following is a video showcasing various values for Scale
and AnimationTime