#ifndef GODOT_CPP_CSGTORUS_HPP #define GODOT_CPP_CSGTORUS_HPP #include #include #include #include #include "CSGPrimitive.hpp" namespace godot { class Material; class CSGTorus : public CSGPrimitive { struct ___method_bindings { godot_method_bind *mb_get_inner_radius; godot_method_bind *mb_get_material; godot_method_bind *mb_get_outer_radius; godot_method_bind *mb_get_ring_sides; godot_method_bind *mb_get_sides; godot_method_bind *mb_get_smooth_faces; godot_method_bind *mb_set_inner_radius; godot_method_bind *mb_set_material; godot_method_bind *mb_set_outer_radius; godot_method_bind *mb_set_ring_sides; godot_method_bind *mb_set_sides; godot_method_bind *mb_set_smooth_faces; }; static ___method_bindings ___mb; public: static void ___init_method_bindings(); static inline const char *___get_class_name() { return (const char *) "CSGTorus"; } static inline Object *___get_from_variant(Variant a) { godot_object *o = (godot_object*) a; return (o) ? (Object *) godot::nativescript_1_1_api->godot_nativescript_get_instance_binding_data(godot::_RegisterState::language_index, o) : nullptr; } // enums // constants static CSGTorus *_new(); // methods real_t get_inner_radius() const; Ref get_material() const; real_t get_outer_radius() const; int64_t get_ring_sides() const; int64_t get_sides() const; bool get_smooth_faces() const; void set_inner_radius(const real_t radius); void set_material(const Ref material); void set_outer_radius(const real_t radius); void set_ring_sides(const int64_t sides); void set_sides(const int64_t sides); void set_smooth_faces(const bool smooth_faces); }; } #endif