diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2021-03-04 20:38:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-04 20:38:32 +0100 |
| commit | e556ec0c5a8bcd1913b2a9950b5d6925cd15046b (patch) | |
| tree | 18bd83c47a090bebbac04494030379c9ccd28aaa /editor/plugins | |
| parent | 86fba084278c8e751463c2f1c73e912de020239d (diff) | |
| parent | 068300c7c98600c87d0ccc78c4bdd66ad017f7fe (diff) | |
Merge pull request #46529 from jmb462/improvement-raycast3d-debug-shape
Adding Raycast3D custom debug shape thickness and color
Diffstat (limited to 'editor/plugins')
| -rw-r--r-- | editor/plugins/node_3d_editor_plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/plugins/node_3d_editor_plugin.h b/editor/plugins/node_3d_editor_plugin.h index cf4aa33257..ff4a941b06 100644 --- a/editor/plugins/node_3d_editor_plugin.h +++ b/editor/plugins/node_3d_editor_plugin.h @@ -99,6 +99,7 @@ protected: public: void add_lines(const Vector<Vector3> &p_lines, const Ref<Material> &p_material, bool p_billboard = false, const Color &p_modulate = Color(1, 1, 1)); + void add_vertices(const Vector<Vector3> &p_vertices, const Ref<Material> &p_material, Mesh::PrimitiveType p_primitive_type, bool p_billboard = false, const Color &p_modulate = Color(1, 1, 1)); void add_mesh(const Ref<ArrayMesh> &p_mesh, bool p_billboard = false, const Ref<SkinReference> &p_skin_reference = Ref<SkinReference>(), const Ref<Material> &p_material = Ref<Material>()); void add_collision_segments(const Vector<Vector3> &p_lines); void add_collision_triangles(const Ref<TriangleMesh> &p_tmesh); |