PV_Cos

Kategorie: Partikel
Ab Engineversion: 8.0 OC

Beschreibung

The value will is calculates as cos(value) * amplitude + offset with value given in degrees.

Syntax

array PV_Cos(int value, int amplitude, int offset);

Parameter

value:
Value or value provider to calculate the cosine of. The result of PV_Linear can be used to evaluate the cosine function linearly over time.
amplitude:
Amplitude of result. May be a value or value provider.
offset:
[opt] Offset added to result. May be a value or value provider. Defaults to zero.

Anmerkungen

See the particle documentation for further explanations of the particle system.
See PV_Random for another example with PV_Cos.
Siehe auch: CreateParticle, PV_Direction, PV_KeyFrames, PV_Linear, PV_Random, PV_Sin, PV_Speed, PV_Step
Zapper, 2016-02