MohoDoc:ApplyLayerComp(comp, state, layer)
Version added: 10.0
Arguments:
Name | Type | Description | Default | Ver |
comp | LayerComp | 10.0 | ||
state | See the description below | 10.0 | ||
layer | MohoLayer | 10.0 |
Return value:
void
typedef enum {
LAYER_COMP_ACTIVATE, // make layers in the layer comp visible - adding to existing visible layers
LAYER_COMP_DEACTIVATE, // make layers in the layer comp invisible
LAYER_COMP_SET // make layers in the layer comp visible - all others invisible
} LayerCompState;
<< Back to MohoDoc
LAYER_COMP_ACTIVATE, // make layers in the layer comp visible - adding to existing visible layers
LAYER_COMP_DEACTIVATE, // make layers in the layer comp invisible
LAYER_COMP_SET // make layers in the layer comp visible - all others invisible
} LayerCompState;