Pixel-Composer/scripts/node_group_thumbnail/node_group_thumbnail.gml
Tanasart e888c23d45 mm
2024-08-18 14:13:41 +07:00

15 lines
No EOL
435 B
Text

function Node_Group_Thumbnail(_x, _y, _group = noone) : Node(_x, _y, _group) constructor {
name = "Thumbnail";
destroy_when_upgroup = true;
color = COLORS.node_blend_collection;
newInput(0, nodeValue_Surface("Input", self))
.setVisible(true, true);
outputs[0] = nodeValue_Surface("Output", self)
.setVisible(false, false);
static getGraphPreviewSurface = function() { #region
return getInputData(0);
} #endregion
}