Pixel-Composer/scripts/node_group_thumbnail/node_group_thumbnail.gml
2023-10-06 16:51:11 +07:00

12 lines
No EOL
400 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;
inputs[| 0] = nodeValue("Input", self, JUNCTION_CONNECT.input, VALUE_TYPE.surface, noone)
.setVisible(true, true);
static getGraphPreviewSurface = function() { #region
return getInputData(0);
} #endregion
}