Navigation
API > API/Plugins > API/Plugins/MediaFrameworkUtilities
A media profile that configures the inputs, outputs, timecode provider and custom time step.
| Name | UMediaProfile |
| Type | class |
| Header File | /Engine/Plugins/Media/MediaFrameworkUtilities/Source/MediaFrameworkUtilities/Public/Profile/MediaProfile.h |
| Include Path | #include "Profile/MediaProfile.h" |
Syntax
UCLASS (BlueprintType)
class UMediaProfile : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMediaProfile
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bNeedToBeReapplied | bool | When the profile is the current profile and modifications made it dirty. | Profile/MediaProfile.h |
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| AppliedCustomTimeStep | TObjectPtr< UEngineCustomTimeStep > | Profile/MediaProfile.h |
|
|
| AppliedTimecodeProvider | TObjectPtr< UTimecodeProvider > | Profile/MediaProfile.h |
|
|
| bCustomTimeStepWasApplied | bool | Applied Custom time step, cached to reset the previous value. | Profile/MediaProfile.h | |
| bTimecodeProvideWasApplied | bool | Applied Timecode provider, cached to reset the previous value. | Profile/MediaProfile.h | |
| PreviousCustomTimeStep | TObjectPtr< UEngineCustomTimeStep > | Profile/MediaProfile.h |
|
|
| PreviousTimecodeProvider | TObjectPtr< UTimecodeProvider > | Profile/MediaProfile.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Apply () |
Apply the media profile. | Profile/MediaProfile.h | |
void FixNumSourcesAndOutputs() |
Update the number of sources and outputs to the number to proxies. | Profile/MediaProfile.h | |
UEngineCustomTimeStep * GetCustomTimeStep() |
Get the custom time step. | Profile/MediaProfile.h | |
UMediaOutput * GetMediaOutput
(
int32 Index |
Get the media output for the selected proxy. | Profile/MediaProfile.h | |
UMediaSource * GetMediaSource
(
int32 Index |
Get the media source for the selected proxy. | Profile/MediaProfile.h | |
UTimecodeProvider * GetTimecodeProvider() |
Get the timecode provider. | Profile/MediaProfile.h | |
bool IsMediaSourceAffectedByProfile
(
UMediaSource* InMediaSource |
Apply the media profile as the current profile. | Profile/MediaProfile.h | |
int32 NumMediaOutputs() |
Get the number of media output. | Profile/MediaProfile.h | |
int32 NumMediaSources() |
Get the number of media source. | Profile/MediaProfile.h | |
virtual void Reset () |
Reset the media profile. | Profile/MediaProfile.h |