MeldStudioHideLayerByName

Hides the selected Meld Studio Layer by name

Signature

public bool MeldStudioHideLayerByName(string sceneName, string layerName, int connectionIdx = -1)

Parameters

sceneName
string required

Enter the Scene Name

layerName
string required

Enter the Layer Name

connectionIdx
int
Default:
-1

Enter the connection index number (-1 is a fallback for the Default connection)

Return Type

bool

Example

CPH.MeldStudioHideLayerByName(sceneName, layerName);
CPH.MeldStudioHideLayerByName(sceneName, layerName, connectionIdx);