20 virtual bool IsSpotLight3D()
const;
22 void SetColor(glm::vec4 color);
23 glm::vec4 GetColor()
const;
25 void SetIntensity(
float intensity);
26 float GetIntensity()
const;
31 void SetCastShadows(
bool castShadows);
32 bool ShouldCastShadows()
const;
34 uint8_t GetLightingChannels()
const;
35 void SetLightingChannels(uint8_t channels);
39 glm::vec4 mColor = { 1.0f, 1.0f, 1.0f, 1.0f };
40 float mIntensity = 1.0f;
42 bool mCastShadows =
true;
43 uint8_t mLightingChannels = 0x01;
LightingDomain
Definition EngineTypes.h:176
#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:140
virtual void GatherProperties(std::vector< Property > &outProps) override
Definition Node3d.cpp:145
virtual bool IsLight3D() const
Definition Node.cpp:1595