11#ifndef INCGUARD_MGL_UI_INPUT_SCOPE_H_1698499179
12#define INCGUARD_MGL_UI_INPUT_SCOPE_H_1698499179
45 : _isValid(scope.width <= 0.0f || scope.height <= 0.0f)
60 _isValid = (scope.width <= 0.0f || scope.height <= 0.0f);
105 [[nodiscard]]
constexpr bool IsValid() const noexcept
111 bool _isValid{
false};
113 ScopeOutBehavior _behavior{ScopeOutBehavior::Unfocus};
矩形
Definition mgl_rectangle.h:20
constexpr bool IsEnclosed(const Vector2 &point) const noexcept
指定した位置が矩形の内側にあるかを取得
Definition mgl_rectangle.h:148
2Dベクトル
Definition mgl_vector2.h:23