diff options
author | jmb462 <jmb462@gmail.com> | 2021-02-28 22:15:52 +0100 |
---|---|---|
committer | jmb462 <jmb462@gmail.com> | 2021-03-04 11:17:26 +0100 |
commit | 068300c7c98600c87d0ccc78c4bdd66ad017f7fe (patch) | |
tree | f9c2596f4d6c194dcf4e8021c6d71f2c40078d4e /editor/plugins | |
parent | dd1881ae19c9c00cc1215703dcda36b2c6af33f2 (diff) |
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); |