diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-18 11:33:47 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-18 11:33:47 -0300 |
commit | 09b1fdc97bd735a562434112b4893b7a354eb81a (patch) | |
tree | c7c8d8b98497559e6a4f66591833162e237811ae /modules/csg/csg_shape.h | |
parent | 003ac67df1c25bb64bdf648ca39e4987277171b6 (diff) | |
parent | a971288bb0d64158147526ff49fc250aecdaba28 (diff) |
Merge pull request #19931 from BastiaanOlij/csg_polygon_local
Added path_local, path_continuous_u and path_joined properties to CSGPolygon
Diffstat (limited to 'modules/csg/csg_shape.h')
-rw-r--r-- | modules/csg/csg_shape.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/csg/csg_shape.h b/modules/csg/csg_shape.h index cbb5c7e041..6898cdaf64 100644 --- a/modules/csg/csg_shape.h +++ b/modules/csg/csg_shape.h @@ -334,10 +334,13 @@ private: NodePath path_node; float path_interval; PathRotation path_rotation; + bool path_local; Node *path_cache; bool smooth_faces; + bool path_continuous_u; + bool path_joined; bool _is_editable_3d_polygon() const; bool _has_editable_3d_polygon_no_depth() const; @@ -375,6 +378,15 @@ public: void set_path_rotation(PathRotation p_rotation); PathRotation get_path_rotation() const; + void set_path_local(bool p_enable); + bool is_path_local() const; + + void set_path_continuous_u(bool p_enable); + bool is_path_continuous_u() const; + + void set_path_joined(bool p_enable); + bool is_path_joined() const; + void set_smooth_faces(bool p_smooth_faces); bool get_smooth_faces() const; |