| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Media/BinkMedia/Source/BinkMediaPlayer/Public/BinkMediaPlayer.h |
Include |
#include "BinkMediaPlayer.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(BlueprintType, HideCategories=(Object))
class UBinkMediaPlayer :
public UObject,
public FTickableGameObject
Implements a media player asset that can play movies and other media.
This class is represents a media URL along with a corresponding media player for exposing media playback functionality to the Engine and to Blueprints.
Name | Description | ||
---|---|---|---|
|
TEnumAsByte< EB... |
BinkBufferMode |
Used to specify the how the video should be buffered. |
|
BinkDestinationLowerRight |
Used to specify the sounds to open at playback. |
|
|
BinkDestinationUpperLeft |
Used to specify the sounds to open at playback. |
|
|
TEnumAsByte< EB... |
BinkDrawStyle |
Used to specify how the movie is drawn. |
|
BinkLayerDepth |
Used to specify the render order. |
|
|
TEnumAsByte< EB... |
BinkSoundTrack |
Used to specify the sounds to open at playback. |
|
BinkSoundTrackStart |
Used to specify the sounds to open at playback. |
|
|
BINKPLUGIN *... |
bnk |
|
|
TEnumAsByte< EB... |
CurrentBinkBufferMode |
Holds the bink buffer mode of the currently loaded media source. |
|
TEnumAsByte< EB... |
CurrentBinkSoundTrack |
Holds the bink sound track of the currently loaded media source. |
|
CurrentBinkSoundTrackStart |
Holds the bink sound track start of the currently loaded media source. |
|
|
CurrentDrawStyle |
||
|
CurrentLayerDepth |
||
|
CurrentUrl |
||
|
uint32: 1 |
DelayedOpen |
To reduce memory use, don't immediately open the bink until it is first played. |
|
uint32: 1 |
Looping |
Whether playback should loop when it reaches the end. |
|
MediaChangedEvent |
Holds a delegate that is executed when media has been opened or closed. |
|
|
OnMediaClosed |
Holds a delegate that is invoked when a media source has been closed. |
|
|
OnMediaOpened |
Holds a delegate that is invoked when a media source has been opened. |
|
|
OnMediaReachedEnd |
Holds a delegate that is invoked when a media source has been opened. |
|
|
OnPlaybackSuspended |
A delegate that is invoked when media playback has been suspended. |
|
|
overlayHook |
||
|
paused |
||
|
reached_end |
||
|
uint32: 1 |
StartImmediately |
Whether playback start immediately, or wait for blueprint to start it. |
|
URL |
The path or URL to the media file to be played. |
Name | Description | |
---|---|---|
|
UBinkMediaPlayer ( |
Name | Description | ||
---|---|---|---|
|
CanPause() |
Checks whether media playback can be paused right now. |
|
|
CanPlay() |
Checks whether media playback can be started right now. |
|
|
Close() |
||
|
CloseUrl() |
Opens the specified media URL. |
|
|
Draw |
Draws this bink to the specified texture |
|
|
GetDimensions() |
||
|
GetDuration() |
Gets the media's duration. |
|
|
float |
GetFrameRate() |
|
|
float |
GetRate() |
Gets the media's current playback rate. |
|
GetTime() |
Gets the media's current playback time. |
|
|
const FStrin... |
GetUrl() |
Gets the URL of the currently loaded media, if any. |
|
HandleMediaPlayerMediaClosed() |
Callback for when the media player has closed a media source. |
|
|
HandleMediaPlayerMediaOpened ( |
Callback for when the media player has opened a new media source. |
|
|
InitializePlayer() |
Initializes the media player. |
|
|
IsInitialized() |
Checks whether this player has been initialized with a media source. |
|
|
IsLooping() |
Checks whether playback is looping. |
|
|
IsPaused() |
Checks whether playback is currently paused. |
|
|
IsPlaying() |
Checks whether playback has started. |
|
|
IsReady() |
||
|
IsStopped() |
Checks whether playback has stopped. |
|
|
UBinkMediaPl... |
OnMediaChanged() |
|
|
Open ( |
||
|
OpenUrl ( |
Opens the specified media URL. |
|
|
Pause() |
Pauses media playback. This is the same as setting the playback rate to 0.0. |
|
|
Play() |
Starts media playback. This is the same as setting the playback rate to 1.0. |
|
|
Rewind() |
Rewinds the media to the beginning. This is the same as seeking to zero time. |
|
|
Seek ( |
Seeks to the specified playback time. |
|
|
SetLooping ( |
Enables or disables playback looping. |
|
|
SetRate ( |
Changes the media's playback rate. |
|
|
SetVolume ( |
Changes the media's volume |
|
|
Stop() |
Stops playback and unloads the video from memory. |
|
|
SupportsRate ( |
Checks whether the specified playback rate is supported. |
|
|
SupportsScrubbing() |
Checks whether the currently loaded media supports scrubbing. |
|
|
SupportsSeeking() |
Checks whether the currently loaded media can jump to a certain position. |
|
|
UpdateTexture ( |
Name | Description | ||
---|---|---|---|
|
BeginDestroy() |
UMediaPlayerBase overrides not already part of the build provided by RAD virtual TSharedRef |
|
|
GetDesc() |
Return a one line description of an object for viewing in the thumbnail view of the generic browser |
|
|
PostLoad() |
Do any object-specific cleanup required immediately after loading an object. |
Name | Description | ||
---|---|---|---|
|
IsTickableInEditor() |
Used to determine whether the object should be ticked in the editor. |
Name | Description | ||
---|---|---|---|
|
GetStatId() |
Return the stat id to use for this tickable |
|
|
IsTickable() |
Virtual that can be overloaded by the inheriting class. |
|
|
Tick ( |
Pure virtual that must be overloaded by the inheriting class. |
Name |
Description |
|
---|---|---|
|
FOnMediaChanged |
Gets an event delegate that is invoked when media has been opened or closed. |