Navigation
API > API/Plugins > API/Plugins/MediaFrameworkUtilities
Inheritance Hierarchy
- AActor
- AMediaBundleActorBase
References
| Module | MediaFrameworkUtilities |
| Header | /Engine/Plugins/Media/MediaFrameworkUtilities/Source/MediaFrameworkUtilities/Public/MediaBundleActorBase.h |
| Include | #include "MediaBundleActorBase.h" |
Syntax
UCLASS (Abstract, Blueprintable)
class AMediaBundleActorBase : public AActor
Remarks
A base actor that
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAutoPlay | Wheter to auto start the MediaPlayer | |
| bool | bPlayingMedia | Whether we're actually playing the media | |
| bool | bPlayWhileEditing | Wheter to keep MediaPlayer playing when editing | |
| TObjectPtr< UTextureRenderTarget2D > | GarbageMatteMask | Texture containging 2D garbage matte mask | |
| TObjectPtr< UMaterialInstanceDynamic > | Material | Dynamic instance of the associated MediaBundle base Material | |
| TObjectPtr< UMediaBundle > | MediaBundle | Associated MediaBundle | |
| TObjectPtr< UMediaSoundComponent > | MediaSoundCmp | MediaSoundComponent associated to play sound of our MediaSource | |
| TObjectPtr< UPrimitiveComponent > | PrimitiveCmp | PrimitiveComponent on which to attach our Material | |
| int32 | PrimitiveMaterialIndex | Index of the Material on the primitive |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BeginDestroy () |
||
| void | BeginPlay () |
||
| void | |||
| void | Destroyed () |
||
| void | EndPlay
(
const EEndPlayReason::Type EndPlayReason |
||
| UMediaBundle * | Get the Media Bundle. | ||
| bool | Whether this actor requested the media to play. | ||
| void | |||
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
||
| void | PostLoadSubobjects
(
FObjectInstancingGraph* OuterInstanceGraph |
||
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
||
| void | Close the Media Source. | ||
| bool | Play the Media Source. | ||
| void | SetComponent
(
UPrimitiveComponent* InPrimitive, |
Assign the primitive to render on. Will change the material for the Media material. |