Purpose
Sets the Artnet property location for a node’s parameter. See Artnet for more information.
Syntax
void SetPropertyArtnetLocation(String propertyName, int artnetChannel, float minValue, float maxValue, bool is16Bit);
- propertyName: The name of the property to set.
- artnetChannel: The Artnet channel ID.
- minValue: The minimum user-defined value.
- maxValue: The maximum user-defined value.
- is16Bit: A flag to indicate if the binding is 16-bit or not.
Example
function Update() {
layer = Document.FindLayer("My Layer");
node = layer.FindNode("Camera");
node.SetPropertyArtnetLocation("Attributes.Zoom", 4, 1.0, 2.0, false);
}