2023-12-18 08:27:31 +01:00
|
|
|
function Node_Strand_Group(_x, _y, _group = noone) : Node_Collection_Inline(_x, _y, _group) constructor {
|
2023-03-19 09:17:39 +01:00
|
|
|
name = "StrandSim";
|
|
|
|
color = COLORS.node_blend_strand;
|
|
|
|
icon = THEME.strandSim;
|
|
|
|
|
|
|
|
update_on_frame = true;
|
|
|
|
|
|
|
|
if(!LOADING && !APPENDING && !CLONING) {
|
2023-12-18 08:27:31 +01:00
|
|
|
var _create = nodeBuild("Node_Strand_Create", x, y);
|
|
|
|
var _render = nodeBuild("Node_Strand_Render", x + 256, y);
|
2023-03-19 09:17:39 +01:00
|
|
|
|
2023-12-18 08:27:31 +01:00
|
|
|
_render.inputs[| 1].setFrom(_create.outputs[| 0]);
|
2023-03-19 09:17:39 +01:00
|
|
|
|
2023-12-18 08:27:31 +01:00
|
|
|
addNode(_create);
|
|
|
|
addNode(_render);
|
2023-03-19 09:17:39 +01:00
|
|
|
}
|
|
|
|
}
|