PV_Sin
Particles
5.4.2 OC
array
int
value
Value or value provider to calculate the sine of. The result of PV_Linear can be used to evaluate the sine function linearly over time.
int
amplitude
Amplitude of result. May be a value or value provider.
int
offset
Offset added to result. May be a value or value provider. Defaults to zero.
The value will is calculates as sin(value) * amplitude + offset with value given in degrees.
See the particle documentation for further explanations of the particle system.
CreateParticle("MagicRing", 0, 0, 0, 0, 100, {R=0xff,G=0x00,B=0x30, Size = PV_Sin(PV_Linear(0,180),10,0)}, 1);
Creates a particle which increases size from 0 to 10 and back to 0 during 100 frames.
CreateParticle
PV_Direction
PV_Random
PV_Step
PV_Linear
PV_Speed
PV_KeyFrames
PC_Die
PC_Bounce
Sven22014-06