mirror of
https://forge.univ-lyon1.fr/tplifap4/dungeonanddeamon.git
synced 2024-02-27 13:31:50 +01:00
70 lines
2.1 KiB
C++
70 lines
2.1 KiB
C++
#ifndef GODOT_CPP_PHYSICSSHAPEQUERYPARAMETERS_HPP
|
|
#define GODOT_CPP_PHYSICSSHAPEQUERYPARAMETERS_HPP
|
|
|
|
|
|
#include <gdnative_api_struct.gen.h>
|
|
#include <stdint.h>
|
|
|
|
#include <core/CoreTypes.hpp>
|
|
#include <core/Ref.hpp>
|
|
|
|
#include "Reference.hpp"
|
|
namespace godot {
|
|
|
|
class Resource;
|
|
|
|
class PhysicsShapeQueryParameters : public Reference {
|
|
struct ___method_bindings {
|
|
godot_method_bind *mb_get_collision_mask;
|
|
godot_method_bind *mb_get_exclude;
|
|
godot_method_bind *mb_get_margin;
|
|
godot_method_bind *mb_get_shape_rid;
|
|
godot_method_bind *mb_get_transform;
|
|
godot_method_bind *mb_is_collide_with_areas_enabled;
|
|
godot_method_bind *mb_is_collide_with_bodies_enabled;
|
|
godot_method_bind *mb_set_collide_with_areas;
|
|
godot_method_bind *mb_set_collide_with_bodies;
|
|
godot_method_bind *mb_set_collision_mask;
|
|
godot_method_bind *mb_set_exclude;
|
|
godot_method_bind *mb_set_margin;
|
|
godot_method_bind *mb_set_shape;
|
|
godot_method_bind *mb_set_shape_rid;
|
|
godot_method_bind *mb_set_transform;
|
|
};
|
|
static ___method_bindings ___mb;
|
|
|
|
public:
|
|
static void ___init_method_bindings();
|
|
|
|
static inline const char *___get_class_name() { return (const char *) "PhysicsShapeQueryParameters"; }
|
|
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 PhysicsShapeQueryParameters *_new();
|
|
|
|
// methods
|
|
int64_t get_collision_mask() const;
|
|
Array get_exclude() const;
|
|
real_t get_margin() const;
|
|
RID get_shape_rid() const;
|
|
Transform get_transform() const;
|
|
bool is_collide_with_areas_enabled() const;
|
|
bool is_collide_with_bodies_enabled() const;
|
|
void set_collide_with_areas(const bool enable);
|
|
void set_collide_with_bodies(const bool enable);
|
|
void set_collision_mask(const int64_t collision_mask);
|
|
void set_exclude(const Array exclude);
|
|
void set_margin(const real_t margin);
|
|
void set_shape(const Ref<Resource> shape);
|
|
void set_shape_rid(const RID shape);
|
|
void set_transform(const Transform transform);
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |