Difference between revisions of "TouchDesigner learning"

From Antoine Vienne | Wiki
Jump to navigation Jump to search
(Make custom interface)
Line 5: Line 5:
  
 
parent().name
 
parent().name
 +
 +
</pre>
 +
 +
=Rendering=
 +
=== Get resolution from another node ===
 +
<pre>
 +
// Get width and height from render1 node
 +
 +
op('render1').width
 +
 +
op('render1').height
  
 
</pre>
 
</pre>

Revision as of 16:22, 25 April 2020

Making custom interface

Making buttons

// Name of the parent node

parent().name

Rendering

Get resolution from another node

// Get width and height from render1 node

op('render1').width

op('render1').height