Light and video Setting

Play video/Camlink when simulating



Connect the Camlink for self-feeding, by plug its HDMI end to DP on displaycard:
20230214_100118.jpg

After create media player, media texture and place the video/camlink URL in media player
image.png
If video don’t play, check

Create the plane and drag the media texture on:
Add Media Sound in Details of the plane, choose the media player source
image.png

Open the Map BP, event begin play
Create variable Media Player, choose default value
Use Open URL if it’s camlink; Open Source if it’s a video file
image.png
Or Save a Camlink Media Source and Camlink media playlist by clicking the save button below:
image.png
Then the Camlink source can be found in Open Soruce node, don’t need to use Open URL

If Using Widget (as a mini screen at a corner during simulating):


Drag the media texture in the space
image.png
In graph:
Create variable, connect to event construct
image.png

Open 3rd person BP:
image.png

If using BP Actor (to control play and pause):



Add a static mesh, and Media Sound
image.png
In Construction Script, Add Media Material variable, make it public
image.png
In Event Graph, add Media player, source and boolean variables :
image.png

Create play and pause event:


create a custom Play event, tick Call in Editor (tick as well for Pause event):
image.png
image.png
image.png

Drag the actor BP in scene, set the default in Details:
image.png
When simulating, hit the play/pause button above
Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.