mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2025-02-09 11:45:23 +01:00
15 lines
No EOL
537 B
Text
15 lines
No EOL
537 B
Text
function Node_create_Fracture(_x, _y) {
|
|
var node = new Node_Fracture(_x, _y);
|
|
ds_list_add(PANEL_GRAPH.nodes_list, node);
|
|
return node;
|
|
}
|
|
|
|
function Node_Fracture(_x, _y) : Node(_x, _y) constructor {
|
|
name = "Fracture";
|
|
|
|
inputs[| 0] = nodeValue(0, "Surface in", self, JUNCTION_CONNECT.input, VALUE_TYPE.surface, 0);
|
|
//inputs[| 0] = nodeValue(0, "Surface in", self, JUNCTION_CONNECT.input, VALUE_TYPE.surface, 0);
|
|
|
|
outputs[| 0] = nodeValue(0, "Surface out", self, JUNCTION_CONNECT.output, VALUE_TYPE.surface, surface_create(1, 1));
|
|
|
|
} |