2023-10-06 11:51:11 +02:00
|
|
|
function Node_Group_Thumbnail(_x, _y, _group = noone) : Node(_x, _y, _group) constructor {
|
|
|
|
name = "Thumbnail";
|
|
|
|
destroy_when_upgroup = true;
|
|
|
|
color = COLORS.node_blend_collection;
|
|
|
|
|
2024-08-08 06:57:51 +02:00
|
|
|
inputs[0] = nodeValue_Surface("Input", self)
|
2023-10-06 11:51:11 +02:00
|
|
|
.setVisible(true, true);
|
2023-11-23 02:32:26 +01:00
|
|
|
|
2024-08-08 06:57:51 +02:00
|
|
|
outputs[0] = nodeValue_Surface("Output", self)
|
2023-11-23 02:32:26 +01:00
|
|
|
.setVisible(false, false);
|
2023-10-06 11:51:11 +02:00
|
|
|
|
|
|
|
static getGraphPreviewSurface = function() { #region
|
|
|
|
return getInputData(0);
|
|
|
|
} #endregion
|
|
|
|
}
|