summaryrefslogtreecommitdiffstats
path: root/scene/3d/scenario_fx.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/3d/scenario_fx.h')
-rw-r--r--scene/3d/scenario_fx.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/scene/3d/scenario_fx.h b/scene/3d/scenario_fx.h
index ef5b70039c..bbdffdc131 100644
--- a/scene/3d/scenario_fx.h
+++ b/scene/3d/scenario_fx.h
@@ -31,30 +31,27 @@
#include "scene/3d/spatial.h"
-
/**
@author Juan Linietsky <reduzio@gmail.com>
*/
-
class WorldEnvironment : public Spatial {
- GDCLASS(WorldEnvironment,Spatial );
+ GDCLASS(WorldEnvironment, Spatial);
Ref<Environment> environment;
protected:
-
void _notification(int p_what);
static void _bind_methods();
+
public:
- void set_environment(const Ref<Environment>& p_environment);
+ void set_environment(const Ref<Environment> &p_environment);
Ref<Environment> get_environment() const;
String get_configuration_warning() const;
WorldEnvironment();
-
};
#endif