PassContainer.AddCustomProperty
 
 
 

PassContainer.AddCustomProperty

Description

Creates and adds an empty CustomProperty to a PassContainer object. This method is only suitable for building a new CustomProperty object from scratch. To create a CustomProperty that has already been defined in a Preset or PluginItem use PassContainer.AddProperty.

C# Syntax

CustomProperty PassContainer.AddCustomProperty( String in_name, Boolean in_Branch );

Scripting Syntax

oReturn = PassContainer.AddCustomProperty( [Name], [BranchFlag] );

Return Value

CustomProperty

Parameters

Parameter Type Description
Name String Represents the name of the new custom property
BranchFlag Boolean When true the newly added Property will also appear under all the passes on the PassContainer

Default Value: false