2023-10-06 16:51:11 +07: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-18 14:13:41 +07:00
|
|
|
newInput(0, nodeValue_Surface("Input", self))
|
2023-10-06 16:51:11 +07:00
|
|
|
.setVisible(true, true);
|
2023-11-23 08:32:26 +07:00
|
|
|
|
2024-08-08 11:57:51 +07:00
|
|
|
outputs[0] = nodeValue_Surface("Output", self)
|
2023-11-23 08:32:26 +07:00
|
|
|
.setVisible(false, false);
|
2023-10-06 16:51:11 +07:00
|
|
|
|
|
|
|
static getGraphPreviewSurface = function() { #region
|
|
|
|
return getInputData(0);
|
|
|
|
} #endregion
|
|
|
|
}
|