入力オブジェクト
More...
#include <Input.hpp>
◆ Input() [1/2]
SIV3D_NODISCARD_CXX20 s3d::Input::Input |
( |
| ) |
|
|
default |
◆ Input() [2/2]
◆ asUint32()
constexpr uint32 s3d::Input::asUint32 |
( |
| ) |
const |
|
constexprnoexcept |
◆ code()
constexpr uint8 s3d::Input::code |
( |
| ) |
const |
|
constexprnoexcept |
◆ deviceType()
デバイスの種類を返します。
- Returns
- デバイスの種類
◆ down()
bool s3d::Input::down |
( |
| ) |
const |
入力オブジェクトが現在のフレームで押され始めたかを返します。
- Returns
- 入力オブジェクトが現在のフレームで押され始めた場合 true, それ以外の場合は false
◆ name()
String s3d::Input::name |
( |
| ) |
const |
入力オブジェクトの名前を返します。
- Returns
- 入力オブジェクトの名前
◆ operator+()
◆ operator|() [1/3]
◆ operator|() [2/3]
◆ operator|() [3/3]
◆ playerIndex()
constexpr uint8 s3d::Input::playerIndex |
( |
| ) |
const |
|
constexprnoexcept |
◆ pressed()
bool s3d::Input::pressed |
( |
| ) |
const |
入力オブジェクトが押されているかを返します。
- Returns
- 入力オブジェクトが押されている場合 true, それ以外の場合は false
◆ pressedDuration()
Duration s3d::Input::pressedDuration |
( |
| ) |
const |
入力オブジェクトが押され続けている時間を返します。
- Returns
- 入力オブジェクトが押され続けている時間
◆ up()
bool s3d::Input::up |
( |
| ) |
const |
入力オブジェクトが現在のフレームで離されたかを返します。
- Returns
- 入力オブジェクトが現在のフレームで離された場合 true, それ以外の場合は false
◆ Formatter
◆ operator!=
constexpr friend bool operator!= |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
◆ operator<
constexpr friend bool operator< |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
◆ operator<<
template<class CharType >
std::basic_ostream<CharType>& operator<< |
( |
std::basic_ostream< CharType > & |
output, |
|
|
const Input & |
value |
|
) |
| |
|
friend |
◆ operator<=
constexpr friend bool operator<= |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
◆ operator==
constexpr friend bool operator== |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
◆ operator>
constexpr friend bool operator> |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
◆ operator>=
constexpr friend bool operator>= |
( |
Input |
lhs, |
|
|
Input |
rhs |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: