Kategorie: Partikel
Ab Engineversion: 3.3 OC
PV_KeyFrames
Beschreibung
The value returned will be an interpolated value of the (smoothed) curve between the up to 4 key frames. PV_KeyFrames(0, 0, X, 1000, Y) is equivalent to PV_Linear(X, Y).
Syntax
array PV_KeyFrames(int smoothing, int position1, int value1, int position2, int value2, int position3, int value3, int position4, int value4);
Parameter
- smoothing:
- Smoothing of the curve. 0 means linear interpolation.
- position1:
- Age of the particle in per-mille (0 to 1000) where value1 will be returned.
- value1:
- Value at position1.
- position2:
- Age of the particle in per-mille (0 to 1000) where value2 will be returned.
- value2:
- Value at position2.
- position3:
- Age of the particle in per-mille (0 to 1000) where value3 will be returned.
- value3:
- Value at position3.
- position4:
- Age of the particle in per-mille (0 to 1000) where value4 will be returned.
- value4:
- Value at position4.
Anmerkung
See the particle documentation for further explanations of the particle system.
Siehe auch: CreateParticle, PC_Bounce, PC_Die, PV_Direction, PV_Linear, PV_Random, PV_Sin, PV_Speed, PV_Step