|
Aeon Engine c550894
AeonGames Open Source Game Engine
|
Point light component representing an omnidirectional light source. More...
#include <C:/Code/AeonEngine/engine/components/PointLight.h>


Public Member Functions | |
| PointLight () | |
| Default constructor. | |
Overrides | |
| const StringId & | GetId () const final |
| Get the unique identifier for this component type. | |
| size_t | GetPropertyCount () const final |
| Get the number of properties exposed by this component. | |
| const StringId * | GetPropertyInfoArray () const final |
| Get the array of property identifiers. | |
| Property | GetProperty (const StringId &aId) const final |
| Get the value of a property. | |
| void | SetProperty (uint32_t, const Property &aProperty) final |
| Set the value aProperty for the property identified by aId. | |
| void | Update (Node &aNode, double aDelta) final |
| Update the component state. | |
| void | Render (const Node &aNode, Renderer &aRenderer, void *aWindowId) final |
| Render the component. | |
| void | ProcessMessage (Node &aNode, uint32_t aMessageType, const void *aMessageData) final |
| Process an incoming message. | |
| Public Member Functions inherited from AeonGames::Component | |
| virtual DLL | ~Component ()=0 |
| Pure virtual destructor. | |
| DLL void | SetProperty (const StringId &aId, const Property &aProperty) |
| Set a property by its StringId identifier. | |
| DLL void | SetProperty (const std::string &aId, const Property &aProperty) |
| Set a property by its string name. | |
Static Public Member Functions | |
| static const StringId & | GetClassId () |
| Returns the class identifier for the PointLight component. | |
Point light component representing an omnidirectional light source.
Definition at line 25 of file PointLight.h.
| AeonGames::PointLight::PointLight | ( | ) |
Default constructor.
Definition at line 35 of file PointLight.cpp.
|
static |
Returns the class identifier for the PointLight component.
Definition at line 30 of file PointLight.cpp.
|
finalvirtual |
Get the unique identifier for this component type.
Implements AeonGames::Component.
Definition at line 41 of file PointLight.cpp.
Get the value of a property.
| aId | Identifier of the property to retrieve. |
Implements AeonGames::Component.
Definition at line 58 of file PointLight.cpp.
|
finalvirtual |
Get the number of properties exposed by this component.
Implements AeonGames::Component.
Definition at line 48 of file PointLight.cpp.
|
finalvirtual |
Get the array of property identifiers.
Implements AeonGames::Component.
Definition at line 53 of file PointLight.cpp.
|
finalvirtual |
Process an incoming message.
| aNode | Node this component is attached to. |
| aMessageType | Type identifier of the message. |
| aMessageData | Pointer to message-specific data. |
Implements AeonGames::Component.
Definition at line 75 of file PointLight.cpp.
|
finalvirtual |
Render the component.
| aNode | Node this component is attached to. |
| aRenderer | Renderer used for drawing. |
| aWindowId | Platform-specific window identifier. |
Implements AeonGames::Component.
Definition at line 71 of file PointLight.cpp.
|
finalvirtual |
Set the value aProperty for the property identified by aId.
Implements AeonGames::Component.
Definition at line 63 of file PointLight.cpp.
|
finalvirtual |
Update the component state.
| aNode | Node this component is attached to. |
| aDelta | Elapsed time since the last update, in seconds. |
Implements AeonGames::Component.
Definition at line 67 of file PointLight.cpp.