3#include <Core/Graphics/Camera.h>
4#include <EditorEngineProcessFramework/EditorEngineProcessFrameworkDLL.h>
5#include <EditorEngineProcessFramework/IPC/SyncObject.h>
6#include <Foundation/Reflection/Reflection.h>
7#include <RendererCore/Pipeline/ViewRenderMode.h>
11 using StorageType = plUInt8;
29 m_RenderMode = plViewRenderMode::Default;
30 m_Perspective = plSceneViewPerspective::Default;
32 m_pLinkedViewConfig =
nullptr;
35 plViewRenderMode::Enum m_RenderMode;
36 plSceneViewPerspective::Enum m_Perspective;
38 bool m_bUseCameraTransformOnDevice =
true;
43 void ApplyPerspectiveSetting(
float fFov = 0.0f,
float fNearPlane = 0.1f,
float fFarPlane = 1000.0f);
51 SkyLightCubeMapChanged,
52 SkyLightIntensityChanged,
53 DirectionalLightChanged,
54 DirectionalLightAngleChanged,
55 DirectionalLightShadowsChanged,
56 DirectionalLightIntensityChanged,
72 bool GetSkyBox()
const;
73 void SetSkyBox(
bool bVal);
75 bool GetSkyLight()
const;
76 void SetSkyLight(
bool bVal);
78 const char* GetSkyLightCubeMap()
const;
79 void SetSkyLightCubeMap(
const char* szVal);
81 float GetSkyLightIntensity()
const;
82 void SetSkyLightIntensity(
float fVal);
84 bool GetDirectionalLight()
const;
85 void SetDirectionalLight(
bool bVal);
87 plAngle GetDirectionalLightAngle()
const;
88 void SetDirectionalLightAngle(
plAngle val);
90 bool GetDirectionalLightShadows()
const;
91 void SetDirectionalLightShadows(
bool bVal);
93 float GetDirectionalLightIntensity()
const;
94 void SetDirectionalLightIntensity(
float fVal);
97 void SetFog(
bool bVal);
101 virtual bool SetupForEngine(
plWorld* pWorld, plUInt32 uiNextComponentPickingID)
override;
102 virtual void UpdateForEngine(
plWorld* pWorld)
override;
105 void SetModifiedInternal(plEngineViewLightSettingsEvent::Type type);
107 bool m_bSkyBox =
false;
108 bool m_bSkyLight =
true;
109 plString m_sSkyLightCubeMap =
"{ 6449d7e0-a8ff-4b43-9f84-df1c870a4748 }";
110 float m_fSkyLightIntensity = 1.0f;
112 bool m_bDirectionalLight =
true;
114 bool m_bDirectionalLightShadows =
false;
115 float m_fDirectionalLightIntensity = 10.0f;
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
static constexpr plAngle MakeFromDegree(float fDegree)
Creates an instance of plAngle that was initialized from degree. (Performs a conversion)
Definition Angle_inl.h:33
A camera class that stores the orientation and some basic camera settings.
Definition Camera.h:41
Definition SyncObject.h:11
Definition ViewRenderSettings.h:65
A world encapsulates a scene graph of game objects and various component managers and their component...
Definition World.h:22
Enum
Definition Declarations.h:85
@ EditorView
The editor view shall be rendered from this camera.
Definition Declarations.h:88
A handle to a component.
Definition Declarations.h:138
Definition ViewRenderSettings.h:26
Definition ViewRenderSettings.h:46
A handle to a game object.
Definition Declarations.h:76
Definition ViewRenderSettings.h:10