You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Update remaining physics exclude parameters to use TypedArray
Also update the documentation to refer to the get_rid() method.
This commit is contained in:
@@ -873,8 +873,8 @@ public:
|
||||
void set_collide_with_areas(bool p_enable) { parameters.collide_with_areas = p_enable; }
|
||||
bool is_collide_with_areas_enabled() const { return parameters.collide_with_areas; }
|
||||
|
||||
void set_exclude(const Vector<RID> &p_exclude);
|
||||
Vector<RID> get_exclude() const;
|
||||
void set_exclude(const TypedArray<RID> &p_exclude);
|
||||
TypedArray<RID> get_exclude() const;
|
||||
};
|
||||
|
||||
class PhysicsShapeQueryParameters3D : public RefCounted {
|
||||
@@ -914,8 +914,8 @@ public:
|
||||
void set_collide_with_areas(bool p_enable) { parameters.collide_with_areas = p_enable; }
|
||||
bool is_collide_with_areas_enabled() const { return parameters.collide_with_areas; }
|
||||
|
||||
void set_exclude(const Vector<RID> &p_exclude);
|
||||
Vector<RID> get_exclude() const;
|
||||
void set_exclude(const TypedArray<RID> &p_exclude);
|
||||
TypedArray<RID> get_exclude() const;
|
||||
};
|
||||
|
||||
class PhysicsTestMotionParameters3D : public RefCounted {
|
||||
@@ -944,11 +944,11 @@ public:
|
||||
bool is_collide_separation_ray_enabled() const { return parameters.collide_separation_ray; }
|
||||
void set_collide_separation_ray_enabled(bool p_enabled) { parameters.collide_separation_ray = p_enabled; }
|
||||
|
||||
Vector<RID> get_exclude_bodies() const;
|
||||
void set_exclude_bodies(const Vector<RID> &p_exclude);
|
||||
TypedArray<RID> get_exclude_bodies() const;
|
||||
void set_exclude_bodies(const TypedArray<RID> &p_exclude);
|
||||
|
||||
Array get_exclude_objects() const;
|
||||
void set_exclude_objects(const Array &p_exclude);
|
||||
TypedArray<uint64_t> get_exclude_objects() const;
|
||||
void set_exclude_objects(const TypedArray<uint64_t> &p_exclude);
|
||||
|
||||
bool is_recovery_as_collision_enabled() const { return parameters.recovery_as_collision; }
|
||||
void set_recovery_as_collision_enabled(bool p_enabled) { parameters.recovery_as_collision = p_enabled; }
|
||||
|
||||
Reference in New Issue
Block a user