![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
| Array<GamepadInfo> s3d::System::EnumerateGamepads | ( | ) |
使用可能なゲームパッドの一覧を返します。
| Array<MicrophoneInfo> s3d::System::EnumerateMicrophones | ( | ) |
利用可能なマイクの一覧を返します。
| Array<MonitorInfo> s3d::System::EnumerateMonitors | ( | ) |
使用可能なモニターの一覧を取得します。
| Array<SerialPortInfo> s3d::System::EnumerateSerialPorts | ( | ) |
| Array<WebcamInfo> s3d::System::EnumerateWebcams | ( | ) |
利用可能な Web カメラの一覧を返します。
|
noexcept |
プログラムを終了させるために、この直後の System::Update() が false を返すように設定します。
アプリケーションに渡されたコマンドライン引数の一覧を返します。
| MonitorInfo s3d::System::GetCurrentMonitor | ( | ) |
ウィンドウが配置されているモニターの情報を取得します。
| size_t s3d::System::GetCurrentMonitorIndex | ( | ) |
ウィンドウが配置されているモニターのインデックスを取得します。
| PowerStatus s3d::System::GetPowerStatus | ( | ) |
| EngineOption::Renderer s3d::System::GetRendererType | ( | ) |
レンダラーの設定を返します。
|
noexcept |
アプリケーション終了トリガーに設定したユーザアクションのフラグの現在の設定を返します。
UserAction の値の組み合わせが使われています。
|
noexcept |
前回のフレームで発生したユーザアクションを返します。
UserAction の値の組み合わせが使われています。 | bool s3d::System::LaunchBrowser | ( | FilePathView | url | ) |
指定した URL をデフォルトの Web ブラウザでオープンします。
| url | URL |
| MessageBoxResult s3d::System::MessageBoxOK | ( | StringView | text, |
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「OK」ボタンを持つメッセージボックスを表示する。
| text | 本文 |
| style | スタイル |
MessageBoxResult::OK | MessageBoxResult s3d::System::MessageBoxOK | ( | StringView | title, |
| StringView | text, | ||
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「OK」ボタンを持つメッセージボックスを表示する。
| title | メッセージボックスのタイトル |
| text | 本文 |
| style | スタイル |
MessageBoxResult::OK | MessageBoxResult s3d::System::MessageBoxOKCancel | ( | StringView | text, |
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「OK」「キャンセル」ボタンを持つメッセージボックスを表示する。
| text | 本文 |
| style | スタイル |
MessageBoxResult::OK または MessageBoxResult::Cancel | MessageBoxResult s3d::System::MessageBoxOKCancel | ( | StringView | title, |
| StringView | text, | ||
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「OK」「キャンセル」ボタンを持つメッセージボックスを表示する。
| title | メッセージボックスのタイトル |
| text | 本文 |
| style | スタイル |
MessageBoxResult::OK または MessageBoxResult::Cancel | MessageBoxResult s3d::System::MessageBoxYesNo | ( | StringView | text, |
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「はい」「いいえ」ボタンを持つメッセージボックスを表示する。
| text | 本文 |
| style | スタイル |
MessageBoxResult::Yes または MessageBoxResult::No | MessageBoxResult s3d::System::MessageBoxYesNo | ( | StringView | title, |
| StringView | text, | ||
| MessageBoxStyle | style = MessageBoxStyle::Default |
||
| ) |
「はい」「いいえ」ボタンを持つメッセージボックスを表示する。
| title | メッセージボックスのタイトル |
| text | 本文 |
| style | スタイル |
MessageBoxResult::Yes または MessageBoxResult::No
|
noexcept |
アプリケーション終了トリガーに設定するユーザアクションを設定します。
| userActionFlags | アプリケーション終了トリガーに設定するユーザアクションのフラグ |
UserAction の値の組み合わせを使います。 | bool s3d::System::ShowInFileManager | ( | FilePathView | path | ) |
ファイルパスをファイルマネージャー上で表示します。
| path | ファイルパス |
| void s3d::System::Sleep | ( | const Duration & | duration | ) |
現在のスレッドの実行を指定した時間だけ停止します。
| duration | スリープする時間 |
| void s3d::System::Sleep | ( | int32 | milliseconds | ) |
現在のスレッドの実行を指定した時間だけ停止します。
| milliseconds | スリープする時間(ミリ秒) |
| bool s3d::System::Update | ( | ) |
描画や入力情報など、フレームを更新します。