DTVideo UE录屏插件使用说明
本插件可以在藍圖中簡單調用即可時時錄制游戲畫面并保存為MP4文件。
插件只有2個藍圖函數開放使用,這兩個函數已經可以滿足使用需求。
This plug-in can be simply called in the blueprint to record the game screen from time to time and save it as an MP4 file.
The plug-in has only two blueprint functions open to use, and these two functions can already meet the needs of use.
1. StartRecord? ? 分組 DT Video
這是開始錄制函數,參數[ Width ]和 [ Height ]為需要錄制的分辨率,如果參數為0,就默認就是當前的運行分辨率
1. StartRecord? ? ?Category DT Video
This is the function to start recording. The parameters [Width] and [Height] are the resolution to be recorded. If the parameter is 0, the default is the current operating resolution
2. StopRecord? ? ?分組 DT Video
這是停止錄制并保存的函數,參數[ Name ]為保存文件路徑和文件名。
如果只是文件名,則文件保存在 項目名\Saved\VideoCaptures 這個目錄中,如 “123.mp4”。
如果是絕對硬盤路徑加名字,則保存在相應的文件中,如 “C:\\123.mp4”。
如果為空,則會已當前時間戳為文件名,保存在VideoCaptures文件里面。
這是一個異步函數,在文件保存以后才會執行?Success 和?Failure 節點。
2. StopRecord? ? ?Category DT Video
This is a function to stop recording and save. The parameter [Name] is the path and file name of the saved file.
If it is just a file name, the file is saved in the directory of project name\Saved\VideoCaptures, such as "123.mp4".
If it is an absolute hard disk path and name, it will be saved in the corresponding file, such as "C:\\123.mp4".
If it is empty, the current timestamp will be the file name, and it will be saved in the VideoCaptures file.
This is an asynchronous function, and the Success and Failure nodes will not be executed until the file is saved.
插件代碼下載地址
DTVideo: UE4 錄像插件 (gitee.com)
總結
以上是生活随笔為你收集整理的DTVideo UE录屏插件使用说明的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 区块链未来三年内将广泛落地
- 下一篇: 批量将文件名称转为大写