Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/FAvaPlaybackManager
Description
Load a new (recyclable) playback instance for the given asset in the given channel.
This function only loads (or creates) the playback graph. The playable assets should be loaded only once the graph is playing.
| Name | LoadPlaybackInstance |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMedia/Public/Playback/AvaPlaybackManager.h |
| Include Path | #include "Playback/AvaPlaybackManager.h" |
| Source | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheMedia/Private/Playback/AvaPlaybackManager.cpp |
TSharedPtr < FAvaPlaybackInstance > LoadPlaybackInstance
(
const FSoftObjectPath & InAssetPath,
const FString & InChannelName,
const FString & InLoadOptions
)
Parameters
| Name | Remarks |
|---|---|
| InAssetPath | Soft object path to the asset to load. This can either be a playback graph itself or a playable asset. |
| InChannelName | For a playable asset, specifying the channel name will indicate where to connect the player node in the playback graph |
| InLoadOptions | Optional parameters to be used when loading the playable. |