
646 Game Development and Simulation with Unreal Technology
COSINE
This expression calculates and returns the cosine of its input value. Note that the input
value is always in radians (and not in d egrees). By connecting the output channel of
a Time expression to this expression, you will be able to create a waveform that
oscillates between -1.0 a nd +1 .0 over time .
•
Properties
Period: Specifies the period of the resulting waveform. Larger values result in
slower oscillations while smaller values resu lt in faster oscillations.
Example Usage: To create a pulsating material, connect the Time expression to
the input of a Cosine expression and plug the