|
3 | 3 | <html> |
4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> |
5 | 5 | <head> |
6 | | - <title>TombEngine 1.9 Lua API</title> |
| 6 | + <title>TombEngine 1.10 Lua API</title> |
7 | 7 | <link rel="stylesheet" href="../ldoc.css" type="text/css" /> |
8 | 8 | </head> |
9 | 9 | <body> |
@@ -153,7 +153,7 @@ <h2><a href="#Functions">Functions</a></h2> |
153 | 153 | </tr> |
154 | 154 | <tr> |
155 | 155 | <td class="name" ><a href="#EmitFogBulb">EmitFogBulb(pos, [radius], [density], [color], [name])</a></td> |
156 | | - <td class="summary">Emit dynamic fogbulb that lasts for a single frame.</td> |
| 156 | + <td class="summary">Emit dynamic fog bulb that lasts for a single frame.</td> |
157 | 157 | </tr> |
158 | 158 | <tr> |
159 | 159 | <td class="name" ><a href="#EmitBlood">EmitBlood(pos, [count])</a></td> |
@@ -508,7 +508,7 @@ <h3>Parameters:</h3> |
508 | 508 | </li> |
509 | 509 | <li><span class="parameter">color</span> |
510 | 510 | <span class="types"><a class="type" href="../3 primitive classes/Color.html#">Color</a></span> |
511 | | - light color. |
| 511 | + Light color. |
512 | 512 | <em>Default: Color(255, 255, 255).</em> |
513 | 513 | </li> |
514 | 514 | <li><span class="parameter">radius</span> |
@@ -555,7 +555,7 @@ <h3>Parameters:</h3> |
555 | 555 | </li> |
556 | 556 | <li><span class="parameter">color</span> |
557 | 557 | <span class="types"><a class="type" href="../3 primitive classes/Color.html#">Color</a></span> |
558 | | - Color. |
| 558 | + Light color. |
559 | 559 | <em>Default: Color(255, 255, 255).</em> |
560 | 560 | </li> |
561 | 561 | <li><span class="parameter">radius</span> |
@@ -595,35 +595,35 @@ <h3>Parameters:</h3> |
595 | 595 | <strong>EmitFogBulb(pos, [radius], [density], [color], [name])</strong> |
596 | 596 | </dt> |
597 | 597 | <dd> |
598 | | - Emit dynamic fogbulb that lasts for a single frame. |
599 | | - If you want a fogbulb that sticks around, you must call this each frame. |
| 598 | + Emit dynamic fog bulb that lasts for a single frame. |
| 599 | + If you want a fog bulb that sticks around, you must call this each frame. |
600 | 600 |
|
601 | 601 |
|
602 | 602 |
|
603 | 603 | <h3>Parameters:</h3> |
604 | 604 | <ul> |
605 | 605 | <li><span class="parameter">pos</span> |
606 | 606 | <span class="types"><a class="type" href="../3 primitive classes/Vec3.html#">Vec3</a></span> |
607 | | - position of the fogbulb |
| 607 | + Position of the fog bulb. |
608 | 608 | </li> |
609 | 609 | <li><span class="parameter">radius</span> |
610 | 610 | <span class="types"><span class="type">int</span></span> |
611 | | - measured in "clicks" or 256 world units (default 20) |
612 | | - <em>Optional.</em> |
| 611 | + Radius measured in "clicks" or 256 world units. |
| 612 | + <em>Default: 20.</em> |
613 | 613 | </li> |
614 | 614 | <li><span class="parameter">density</span> |
615 | 615 | <span class="types"><span class="type">int</span></span> |
616 | | - from 0 to 255 (default 255) |
617 | | - <em>Optional.</em> |
| 616 | + Density, ranging from 0 to 255. |
| 617 | + <em>Default: 255.</em> |
618 | 618 | </li> |
619 | 619 | <li><span class="parameter">color</span> |
620 | 620 | <span class="types"><a class="type" href="../3 primitive classes/Color.html#">Color</a></span> |
621 | | - (default Color(255, 255, 255)) |
622 | | - <em>Optional.</em> |
| 621 | + Color. |
| 622 | + <em>Default: Color(255, 255, 255).</em> |
623 | 623 | </li> |
624 | 624 | <li><span class="parameter">name</span> |
625 | 625 | <span class="types"><a class="type" href="https://www.lua.org/manual/5.4/manual.html#6.4">string</a></span> |
626 | | - if provided, engine will interpolate this light for high framerate mode (be careful not to use same name for different fogbulbs) |
| 626 | + If provided, engine will interpolate this fog bulb for high framerate mode (be careful not to use same name for different fogbulbs) |
627 | 627 | <em>Optional.</em> |
628 | 628 | </li> |
629 | 629 | </ul> |
|
0 commit comments