動画ファイルの書き出し
More...
#include <VideoWriter.hpp>
◆ VideoWriter() [1/2]
SIV3D_NODISCARD_CXX20 s3d::VideoWriter::VideoWriter |
( |
| ) |
|
◆ VideoWriter() [2/2]
SIV3D_NODISCARD_CXX20 s3d::VideoWriter::VideoWriter |
( |
FilePathView |
path, |
|
|
const Size & |
size, |
|
|
double |
fps |
|
) |
| |
|
explicit |
◆ close()
void s3d::VideoWriter::close |
( |
| ) |
|
◆ getFPS()
double s3d::VideoWriter::getFPS |
( |
| ) |
const |
|
noexcept |
動画の FPS を返します。
- Returns
- 動画の FPS
◆ getSize()
Size s3d::VideoWriter::getSize |
( |
| ) |
const |
|
noexcept |
動画の解像度を返します。
- Returns
- 動画の解像度
◆ isOpen()
bool s3d::VideoWriter::isOpen |
( |
| ) |
const |
|
noexcept |
ファイルがオープンしているかを返します。
- Returns
- ファイルがオープンしている場合 true, それ以外の場合は false
◆ open()
bool s3d::VideoWriter::open |
( |
FilePathView |
path, |
|
|
const Size & |
size, |
|
|
double |
fps |
|
) |
| |
◆ operator bool()
s3d::VideoWriter::operator bool |
( |
| ) |
const |
|
explicitnoexcept |
ファイルがオープンしているかを返します。
- Returns
- ファイルがオープンしている場合 true, それ以外の場合は false
◆ path()
const FilePath& s3d::VideoWriter::path |
( |
| ) |
const |
|
noexcept |
動画ファイルのフルパスを返します。
- Returns
- 動画ファイルのフルパス
◆ writeFrame()
bool s3d::VideoWriter::writeFrame |
( |
const Image & |
image | ) |
|
動画ファイルにフレームを書き出します。
- Parameters
-
- Returns
- 書き出しに成功した場合 true, それ以外の場合は false
The documentation for this class was generated from the following file: