|
|
auto | update () -> void override |
| |
|
auto | load_scene (const std::filesystem::path &path) -> scenes::scene & |
| |
|
auto | scene () -> scenes::scene & |
| |
|
auto | save_scene (const std::filesystem::path &path) -> void |
| |
|
template<typename Type , std::invocable< YAML::Node &, const Type & > Save, std::invocable< YAML::Node & > Load> |
| auto | register_component (const std::string &name, Save &&save, Load &&load) -> void |
| |
|
auto | component_io (const std::uint32_t id) -> component_io & |
| |
|
auto | has_component_io (const std::uint32_t id) -> bool |
| |
|
auto | debug_lines () const -> const std::vector< line > & |
| |
|
auto | clear_debug_lines () -> void |
| |
|
auto | add_debug_line (const sbx::math::vector3 &start, const sbx::math::vector3 &end, const sbx::math::color &color) -> void |
| |
|
auto | add_coordinate_arrows (const math::matrix4x4 &transform, std::float_t length=2.0f) -> void |
| |
|
auto | add_debug_plane (const sbx::math::vector3 &origin, const sbx::math::vector3 &v1, const sbx::math::vector3 &v2, std::uint32_t n1, std::uint32_t n2, std::float_t s1, std::float_t s2, const sbx::math::color &color, const sbx::math::color &outline) -> void |
| |
|
auto | add_debug_volume (const math::matrix4x4 &matrix, const math::volume &volume, const sbx::math::color &color) -> void |
| |
|
auto | add_debug_box (const math::matrix4x4 &matrix, const math::volume &volume, const sbx::math::color &color) -> void |
| |
|
auto | add_debug_circle (const math::vector3 ¢er, const std::float_t radius, const math::vector3 &normal, const math::color &color, const std::uint32_t segments=32) -> void |
| |
|
auto | add_debug_sphere (const math::vector3 ¢er, const std::float_t radius, const math::color &color, const std::uint32_t segments=32) -> void |
| |
|
auto | add_debug_frustum (const math::matrix4x4 &view, const math::matrix4x4 &projection, const sbx::math::color &color) -> void |
| |
|
| noncopyable (const noncopyable &)=delete |
| |
|
| noncopyable (noncopyable &&) noexcept=default |
| |
|
auto | operator= (const noncopyable &) -> noncopyable &=delete |
| |
|
auto | operator= (noncopyable &&) noexcept -> noncopyable &=default |
| |