Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/FAvaPlaybackManager
Description
Attempts to acquire (recycle) an existing playback instance. If none available, will load a new one.
Load options will not be applied for recycled instances. (todo)
| Name | AcquireOrLoadPlaybackInstance |
| 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 > AcquireOrLoadPlaybackInstance
(
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. |
See Also
-
LoadPlaybackInstance
-
AcquirePlaybackInstance