C4 Engine
C4 Engine API Documentation

MovieWidget::SetSourceConnectorKey

Defined in:  C4Movies.h
Sets the connector key that identifies the source node for audio output.
Prototype

void SetSourceConnectorKey(const ConnectorKey& key);

Parameters
key Thew new source connector key.
Description
The SetSourceConnectorKey function sets the connector key that identifies the source node through which audio is played for the movie widget. The key parameter should identify a connector attached to the panel effect containing the movie widget, and that connector should be connected to a Source node.

A connection to a source node is required in order for audio to be played by a movie widget inside a panel effect. For movie widgets in a desktop window, there is no panel effect node, and audio always plays if it is present in the movie.

The initial value of the source connector key is the empty string.
See Also

MovieWidget::GetSourceConnectorKey