diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-22 21:48:40 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-22 21:48:40 +0100 |
commit | 7f8ecffa56834dce3ccbd736738b613d51133dea (patch) | |
tree | 67214d3d7098e6726140c58b251d9e0f6d5be73c /servers/physics_server_3d.h | |
parent | dfcb2d4fb807ccb2dcaf894d5b2ed66d3a26aa88 (diff) | |
parent | 82dac646598fb4799165952460cf8e4479f9fbef (diff) |
Merge pull request #69017 from raulsntos/physics3d-array
Change exclude property in `PhysicsRayQueryParameters3D` to TypedArray
Diffstat (limited to 'servers/physics_server_3d.h')
-rw-r--r-- | servers/physics_server_3d.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics_server_3d.h b/servers/physics_server_3d.h index 87877ad52d..de6645f27e 100644 --- a/servers/physics_server_3d.h +++ b/servers/physics_server_3d.h @@ -822,7 +822,7 @@ protected: static void _bind_methods(); public: - static Ref<PhysicsRayQueryParameters3D> create(Vector3 p_from, Vector3 p_to, uint32_t p_mask, const Vector<RID> &p_exclude); + static Ref<PhysicsRayQueryParameters3D> create(Vector3 p_from, Vector3 p_to, uint32_t p_mask, const TypedArray<RID> &p_exclude); const PhysicsDirectSpaceState3D::RayParameters &get_parameters() const { return parameters; } void set_from(const Vector3 &p_from) { parameters.from = p_from; } @@ -846,8 +846,8 @@ public: void set_hit_back_faces(bool p_enable) { parameters.hit_back_faces = p_enable; } bool is_hit_back_faces_enabled() const { return parameters.hit_back_faces; } - 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 PhysicsPointQueryParameters3D : public RefCounted { |