Navigation
API > API/Plugins > API/Plugins/AvalancheMedia > API/Plugins/AvalancheMedia/Playback
Inheritance Hierarchy
- TSharedFromThis
- FAvaPlaybackManager
References
| Module | AvalancheMedia |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheMedia/Public/Playback/AvaPlaybackManager.h |
| Include | #include "Playback/AvaPlaybackManager.h" |
Syntax
class FAvaPlaybackManager : public TSharedFromThis< FAvaPlaybackManager >
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOnBeginTick | OnBeginTick | ||
| FOnLocalPlaybackAssetRemoved | OnLocalPlaybackAssetRemoved | ||
| FOnPlaybackInstanceInvalidated | OnPlaybackInstanceInvalidated | ||
| FOnPlaybackInstanceStatusChanged | OnPlaybackInstanceStatusChanged |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAvaPlaybackManager
(
const FAvaPlaybackManager& |
Non-copyable (because copy of CachedAssetStatusExtra is not defined) |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FAvaPlaybackInstance > | AcquireOrLoadPlaybackInstance
(
const FSoftObjectPath& InAssetPath, |
Attempts to acquire existing instance. If none available, will load a new one. | |
| TSharedPtr< FAvaPlaybackInstance > | AcquirePlaybackInstance
(
const FSoftObjectPath& InAssetPath, |
Acquire a cached playback instance. Will return null if none available in the cache. | |
| void | ApplyPendingCommands
(
UAvaPlaybackGraph* InPlaybackObject, |
This is used on the playback server to apply any pending commands to a playback instance. | |
| UAvaPlaybackGraph * | BuildPlaybackFromWorld
(
const TSoftObjectPtr< UWorld >& InWorld, |
||
| TSharedPtr< FAvaPlaybackSourceAssetEntry > | FindPlaybackAssetEntry
(
const FSoftObjectPath& InAssetPath |
||
| TSharedPtr< FAvaPlaybackInstance > | FindPlaybackInstance
(
const FGuid& InInstanceId, |
Finds an existing (either available or used) playback instance. | |
| void | ForAllPlaybackInstances
(
TFunctionRef< void(FAvaPlaybackInstance&)> InFunction |
||
| EAvaPlaybackAssetStatus | GetLocalAssetStatus
(
const FName& InPackageName |
Determines the local status of the given asset on this local instance of the playback manager. | |
| UAvaPlayableGroupManager * | |||
| TSharedPtr< FAvaPlaybackSourceAssetEntry > | GetPlaybackAssetEntry
(
const FSoftObjectPath& InAssetPath |
||
| EAvaPlaybackStopOptions | GetPlaybackStopOptions
(
bool bInUnload |
||
| EAvaPlaybackUnloadOptions | |||
| EAvaPlaybackStatus | GetUnloadedPlaybackStatus
(
const FSoftObjectPath& InAssetPath |
Utility function to determine the playback status of an unloaded asset. | |
| bool | HandleStatCommand
(
const TArray< FString >& InArgs |
Implements a similar command to Engine::HandleStatCommand, except it will fetch Motion Design's game viewport client if everything else fails. | |
| void | InvalidateCachedLocalAssetStatus
(
const FName& InPackageName |
Invalidates the cached local asset status. | |
| void | InvalidatePlaybackAssetEntry
(
const FSoftObjectPath& InAssetPath |
Invalidate the asset entry. All cached instances will be invalidated along with it. | |
| bool | IsLocalAssetAvailable
(
const FSoftObjectPath& InAssetPath |
||
| bool | IsLocalAssetAvailable
(
const FName& InPackageName |
Utility function to determine if an asset is locally available. | |
| bool | IsPlaybackAsset
(
const FAssetData& InAssetData |
Returns true if the given asset is a playback asset, i.e. either a "playable" asset or a playback graph. | |
| TSharedPtr< FAvaPlaybackInstance > | LoadPlaybackInstance
(
const FSoftObjectPath& InAssetPath, |
Load a new playback instance. | |
| UAvaPlaybackGraph * | LoadPlaybackObject
(
const FSoftObjectPath& InAssetPath, |
||
| void | OnAssetRemoved
(
const FAssetData& InAssetData |
||
| void | OnAvaSyncPackageModified
(
IAvaMediaSyncProvider* InAvaMediaSyncProvider, |
||
| void | OnPackageModified
(
const FName& InPackageName, |
Let the Playback manager know that a package has been modified. | |
| void | OnPackageSaved
(
const FString& InPackageFileName, |
||
| void | TearDown the whole Motion Design Playback system. | ||
| bool | PushAnimationCommand
(
const FGuid& InInstanceId, |
||
| bool | PushPlaybackTransitionStartCommand
(
UAvaPlaybackTransition* InTransitionToStart |
||
| bool | PushRemoteControlCommand
(
const FGuid& InInstanceId, |
||
| void | SetEnablePlaybackCommandsBuffering
(
bool bInEnable |
||
| void | Indicate the manager is in a shutdown sequence and will force game instances to destroy worlds right away. | ||
| TArray< FSoftObjectPath > | StopAllPlaybacks
(
bool bInUnload |
Stops all currently playing playback objects. | |
| void | Tick () |
||
| bool | UnloadPlaybackInstances
(
const FSoftObjectPath& InAssetPath, |
Unload and discard any available (i.e. not used) instances for this asset/channel entry. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FAvaPlaybackManager & | operator=
(
const FAvaPlaybackManager& |