summaryrefslogtreecommitdiffstats
path: root/modules/csg/csg_shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'modules/csg/csg_shape.h')
-rw-r--r--modules/csg/csg_shape.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/csg/csg_shape.h b/modules/csg/csg_shape.h
index bb7c8be431..8f23ae2f9e 100644
--- a/modules/csg/csg_shape.h
+++ b/modules/csg/csg_shape.h
@@ -113,6 +113,7 @@ private:
void _update_debug_collision_shape();
void _clear_debug_collision_shape();
void _on_transform_changed();
+ Vector<Vector3> _get_brush_collision_faces();
protected:
void _notification(int p_what);
@@ -161,6 +162,10 @@ public:
bool is_calculating_tangents() const;
bool is_root_shape() const;
+
+ Ref<ArrayMesh> bake_static_mesh();
+ Ref<ConcavePolygonShape3D> bake_collision_shape();
+
CSGShape3D();
~CSGShape3D();
};