SetPropertyArtnetLocation()
Purpose #
Sets the ArtNet property location for a node’s parameter. See ArtNet for more information.
Syntax #
void SetPropertyArtnetLocation(String property_name, int artnet_channel, float min_value, float max_value, bool is_16_bit);
Parameters
artnet_channel | The ArtNet channel ID. |
is_16_bit | A flag to indicate if the binding is 16-bit or not. |
max_value | The maximum user-defined value. |
min_value | The minimum user-defined value. |
property_name | The name of the property to set. |
The first 3 channels should be left free for Notch ArtNet transport controls.
Example #
function Update()
{
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Camera");
node.SetPropertyArtnetLocation("Attributes.Zoom", 4, 1.0, 2.0, false);
}