EffectLib Grid - TheComputerGeek2/MagicSpells GitHub Wiki
Source Code
class: Grid
Description:
This effect creates a 2D wireframe grid.
Configuration:
Option |
Default |
type |
"instant" |
particle |
"flame" |
period |
5 |
iterations |
50 |
Other:
Option |
Description |
Type |
Default |
rows |
Rows of the grid. |
Integer |
5 |
columns |
Columns of the grid. |
Integer |
10 |
widthCell |
Width per cell in blocks |
Float |
1 |
heightCell |
Height per cell in blocks |
Float |
1 |
particlesWidth |
Particles to be spawned on the horizontal borders of the cell. |
Integer |
4 |
particlesHeight |
Particles to be spawned on the vertical borders of the cell. |
Integer |
3 |
rotation |
Rotation around the Y-axis. |
Double |
0 |
rotationX /rotationZ |
Rotation around their axis. |
Double |
0 |
center |
Defines whether to center the grid on the location. |
Boolean |
false |