mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-26 06:56:45 +01:00
15 lines
No EOL
435 B
Text
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
|
|
} |