2023-10-30 14:21:34 +01:00
|
|
|
function Node_Tile(_x, _y, _group = noone) : Node_Processor(_x, _y, _group) constructor {
|
|
|
|
name = "Tile";
|
|
|
|
|
2024-08-18 06:16:20 +02:00
|
|
|
newInput(0, nodeValue_Surface("Base texture", self));
|
2023-10-30 14:21:34 +01:00
|
|
|
|
2024-08-18 06:16:20 +02:00
|
|
|
newInput(1, nodeValue_Surface("Border texture", self));
|
2023-10-30 14:21:34 +01:00
|
|
|
|
2024-09-04 03:57:11 +02:00
|
|
|
newOutput(0, nodeValue_Output("", self, VALUE_TYPE.surface, noone));
|
2023-10-30 14:21:34 +01:00
|
|
|
|
|
|
|
input_display_list = [ 0 ];
|
|
|
|
|
|
|
|
static step = function() {}
|
|
|
|
|
|
|
|
static processData = function(_outSurf, _data, _output_index, _array_index = 0) { return _outSurf; }
|
|
|
|
}
|