21 void SetColor(glm::vec4 color);
22 glm::vec4 GetColor()
const;
24 void SetIntensity(
float intensity);
25 float GetIntensity()
const;
30 void SetCastShadows(
bool castShadows);
31 bool ShouldCastShadows()
const;
33 uint8_t GetLightingChannels()
const;
34 void SetLightingChannels(uint8_t channels);
38 glm::vec4 mColor = { 1.0f, 1.0f, 1.0f, 1.0f };
39 float mIntensity = 1.0f;
41 bool mCastShadows =
true;
42 uint8_t mLightingChannels = 0x01;
LightingDomain
Definition EngineTypes.h:165
#define POLYPHASE_API
Definition PolyphaseAPI.h:31
virtual bool IsPointLight3D() const =0
DECLARE_OBJECT(Light3D, Node3D)
virtual bool IsDirectionalLight3D() const =0
virtual const char * GetTypeName() const override
Definition Node3d.cpp:119
virtual void GatherProperties(std::vector< Property > &outProps) override
Definition Node3d.cpp:124
virtual bool IsLight3D() const
Definition Node.cpp:1541