NodeOutput.SetRect C# (CSharp) Method

SetRect() public method

Set the output rect as labelrect in global canvas space and extend it to the right node edge
public SetRect ( Rect labelRect ) : void
labelRect Rect
return void
    public void SetRect(Rect labelRect)
    {
        rect = new Rect (body.rect.x,
                         body.rect.y + labelRect.y,
                         labelRect.width + labelRect.x,
                         labelRect.height);
    }