OpenSiv3D  v0.6.5
C++20 framework for creative coding
s3d::FloatRect Struct Reference

#include <FloatRect.hpp>

Public Member Functions

SIV3D_NODISCARD_CXX20 FloatRect ()=default
 
constexpr SIV3D_NODISCARD_CXX20 FloatRect (float l, float t, float r, float b) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 FloatRect (int32 l, int32 t, int32 r, int32 b) noexcept
 
constexpr SIV3D_NODISCARD_CXX20 FloatRect (double l, double t, double r, double b) noexcept
 

Public Attributes

float left
 
float top
 
float right
 
float bottom
 

Constructor & Destructor Documentation

◆ FloatRect() [1/4]

SIV3D_NODISCARD_CXX20 s3d::FloatRect::FloatRect ( )
default

◆ FloatRect() [2/4]

constexpr SIV3D_NODISCARD_CXX20 s3d::FloatRect::FloatRect ( float  l,
float  t,
float  r,
float  b 
)
constexprnoexcept

◆ FloatRect() [3/4]

constexpr SIV3D_NODISCARD_CXX20 s3d::FloatRect::FloatRect ( int32  l,
int32  t,
int32  r,
int32  b 
)
constexprnoexcept

◆ FloatRect() [4/4]

constexpr SIV3D_NODISCARD_CXX20 s3d::FloatRect::FloatRect ( double  l,
double  t,
double  r,
double  b 
)
constexprnoexcept

Member Data Documentation

◆ bottom

float s3d::FloatRect::bottom

◆ left

float s3d::FloatRect::left

◆ right

float s3d::FloatRect::right

◆ top

float s3d::FloatRect::top

The documentation for this struct was generated from the following file: