File: PV_KeyFrames.xml

package info (click to toggle)
openclonk 8.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 169,520 kB
  • sloc: cpp: 180,479; ansic: 108,988; xml: 31,371; python: 1,223; php: 767; makefile: 145; sh: 101; javascript: 34
file content (75 lines) | stat: -rw-r--r-- 2,545 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE funcs
  SYSTEM '../../../clonk.dtd'>
<?xml-stylesheet type="text/xsl" href="../../../clonk.xsl"?>
<funcs>
  <func>
    <title>PV_KeyFrames</title>
    <category>Particles</category>
    <version>5.3.3 OC</version>
    <syntax>
      <rtype>array</rtype>
      <params>
        <param>
          <type>int</type>
          <name>smoothing</name>
          <desc>Smoothing of the curve. 0 means linear interpolation.</desc>
        </param>
		<param>
          <type>int</type>
          <name>position1</name>
          <desc>Age of the particle in per-mille (0 to 1000) where value1 will be returned.</desc>
        </param>
		<param>
          <type>int</type>
          <name>value1</name>
          <desc>Value at position1.</desc>
        </param>
		<param>
          <type>int</type>
          <name>position2</name>
          <desc>Age of the particle in per-mille (0 to 1000) where value2 will be returned.</desc>
        </param>
		<param>
          <type>int</type>
          <name>value2</name>
          <desc>Value at position2.</desc>
        </param>
		<param>
          <type>int</type>
          <name>position3</name>
          <desc>Age of the particle in per-mille (0 to 1000) where value3 will be returned.</desc>
        </param>
		<param>
          <type>int</type>
          <name>value3</name>
          <desc>Value at position3.</desc>
        </param>
		<param>
          <type>int</type>
          <name>position4</name>
          <desc>Age of the particle in per-mille (0 to 1000) where value4 will be returned.</desc>
        </param>
		<param>
          <type>int</type>
          <name>value4</name>
          <desc>Value at position4.</desc>
        </param>
      </params>
    </syntax>
    <desc>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).</desc>
    <remark>See the <emlink href="particle/index.html">particle documentation</emlink> for further explanations of the particle system.</remark>
    <related>
      <funclink>CreateParticle</funclink>
      <funclink>PV_Linear</funclink>
      <funclink>PV_Direction</funclink>
      <funclink>PV_Random</funclink>
      <funclink>PV_Speed</funclink>
      <funclink>PV_Step</funclink>
      <funclink>PV_Sin</funclink>
      <funclink>PC_Die</funclink>
      <funclink>PC_Bounce</funclink>
    </related>
  </func>
  <author>Zapper</author><date>2013-10</date>
</funcs>