Window : Get Composition Height + Edges

For Protocol Compositions, I needed to align layers on the screen/window edges.
Since Align Layer to Window doesn’t work for Protocol Comps, you need to get the rendered composition height.

So for a given pixel width and height, it retrieves the height in Vuo Coordinates for a width of 2, in other words it converts pixels height to the height in Vuo canvas coordinates.
It also retrieves the top and bottom edges.

I know this isn’t really a “Window” type, but didn’t know what type it would fit better in.

Place this .c node inside your Vuo Modules folder.
You can search for this node by typing BSS in the node library.

License :
Original code by ©Kosada Incorporated, released under MIT License, modified by Bodysoulspirit.
This code may be modified and distributed under the terms of the MIT License.
For more information, see (1.17 KB)