Behavior Module
Behavior operators.
Functions and values
Function or value | Description |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a cosine tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a cosine tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a cosine tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a cosine tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and an "ease-in" effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and an ease-in effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and an "ease-out" effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and an ease-out effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and an easing effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a sinusoidal tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a sinusoidal tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a sinusoidal tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
A behavior that produces a value that is linearly interpolated between 'a' and 'b' using a custom scaling function and a sinusoidal tween effect based on the input behavior's value. The custom scaling function 'scale' should take a pair (difference, scalar) and return a value representing the interpolation factor. The output behavior produces values of the same type as 'a' and 'b'.
|
|
|
|
|
|
|
|
A normalized time-emitting loop behavior based on the specified 'stride' and 'bounce' parameters. The 'stride' parameter represents the duration of each loop iteration. The 'bounce' parameter indicates whether the loop will reverse its direction after each iteration. The output behavior produces normalized values (0.0f to 1.0f) indicating the progress within each loop iteration.
|
|
A time-emitting loop behavior based on the specified 'stride' and 'bounce' parameters. The 'stride' parameter represents the duration of each loop iteration. The 'bounce' parameter indicates whether the loop will reverse its direction after each iteration. The output behavior produces 'GameTime' values indicating the progress within each loop iteration.
|
|
A normalized time-slicing behavior that emits normalized values (0.0f to 1.0f) within the specified time range. The 'start' parameter represents the start time of the slice. The 'length' parameter indicates the duration of the time slice. The output behavior produces normalized values (0.0f to 1.0f) indicating the progress within the specified time range.
|
|
|
|
|
|
|
|
|
|