window
Tag: window
Parent tag: interface
Attributes:
name
: the window’s name
Child tags:
This tag creates a window on top of the rendering window which can display variables and the pipeline list. AntTweakBar is used for this purpose.
Example:
<window label="Main Window"> <pipelineList label="Effect List" /> <var label="Dark" type="RENDERER" context="CURRENT" component="dark" mode="COLOR"/> <var label="Light" type="RENDERER" context="CURRENT" component="light" mode="COLOR"/> <var label="Light Dir" type="LIGHT" context="Sun" component="DIRECTION" mode="DIRECTION"/> <var label="Frequency" type="RENDERER" context="CURRENT" component="frequency" def="min=1" /> <var label="Sharpness" type="RENDERER" context="CURRENT" component="sharpness" def="min=0 max=16 step=0.1"/> <var label="Noise Scale" type="RENDERER" context="CURRENT" component="noiseScale" def="min=0 max=8 step=0.1" /> </window>
The image below shows an example of the AntTweakBar integration. See the wood example in github.