A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
AIntroMediaScreen Class Reference

This is a screen on which you can broadcast video. More...

#include <IntroMediaScreen.h>

Inheritance diagram for AIntroMediaScreen:
[legend]

Public Member Functions

 AIntroMediaScreen ()
 
void OnVideoEndPlaying ()
 UFUNCTION()
 
virtual void Tick (float DeltaTime) override
 

Public Attributes

UAudioComponent * Audio
 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
 
UMediaPlayer * MediaPlayer
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MediaScreen")
 
UMediaSource * MediaSource
 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MediaScreen")
 
UStaticMeshComponentPlaneComponent
 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
 
USceneComponentRoot
 UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")
 

Protected Member Functions

virtual void BeginPlay () override
 

Private Member Functions

 GENERATED_BODY ()
 

Detailed Description

This is a screen on which you can broadcast video.

Note
You need to have .mp4 file in Content/Movies folder.
Todo
Rename this class to AMediaScreen.

UCLASS()

Definition at line 18 of file IntroMediaScreen.h.

Constructor & Destructor Documentation

◆ AIntroMediaScreen()

AIntroMediaScreen::AIntroMediaScreen ( )

Definition at line 11 of file IntroMediaScreen.cpp.

Member Function Documentation

◆ BeginPlay()

void AIntroMediaScreen::BeginPlay ( )
overrideprotectedvirtual

Definition at line 29 of file IntroMediaScreen.cpp.

Here is the call graph for this function:

◆ GENERATED_BODY()

AIntroMediaScreen::GENERATED_BODY ( )
private

◆ OnVideoEndPlaying()

void AIntroMediaScreen::OnVideoEndPlaying ( )

UFUNCTION()

The function is triggered when the video is finished playing..

Definition at line 47 of file IntroMediaScreen.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Tick()

void AIntroMediaScreen::Tick ( float DeltaTime)
overridevirtual

Definition at line 41 of file IntroMediaScreen.cpp.

Member Data Documentation

◆ Audio

UAudioComponent* AIntroMediaScreen::Audio
BlueprintReadWriteVisibleAnywhere

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")

Definition at line 42 of file IntroMediaScreen.h.

◆ MediaPlayer

UMediaPlayer* AIntroMediaScreen::MediaPlayer
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MediaScreen")

Definition at line 60 of file IntroMediaScreen.h.

◆ MediaSource

UMediaSource* AIntroMediaScreen::MediaSource
EditAnywhereBlueprintReadWrite

UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "MediaScreen")

Media file to broadcast

Definition at line 66 of file IntroMediaScreen.h.

◆ PlaneComponent

UStaticMeshComponent* AIntroMediaScreen::PlaneComponent
BlueprintReadWriteVisibleAnywhere

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")

Screen mesh

Definition at line 36 of file IntroMediaScreen.h.

◆ Root

USceneComponent* AIntroMediaScreen::Root
BlueprintReadWriteVisibleAnywhere

UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Components")

Definition at line 30 of file IntroMediaScreen.h.


The documentation for this class was generated from the following files: