Ocular Engine
|
#include <PointLightRenderable.hpp>
Public Member Functions | |
PointLightRenderable (std::string const &name="PointLightRenderable", SceneObject *parent=nullptr) | |
virtual bool | initialize () override |
virtual bool | preRenderDebug () override |
virtual void | renderDebug () override |
virtual void | postRenderDebug () override |
![]() | |
ARenderable (std::string const &name="ARenderable", std::string const &type="ARenderable", SceneObject *parent=nullptr) | |
virtual bool | preRender () |
virtual void | render () |
virtual void | render (Graphics::Material *material) |
virtual void | postRender () |
virtual void | buildBounds (Math::BoundsSphere *sphere, Math::BoundsAABB *aabb, Math::BoundsOBB *obb, Math::Matrix4x4 const &matrix=Math::Matrix4x4()) |
SceneObject * | getParent () const |
std::string const & | getName () const |
virtual uint32_t | getRenderPriority () const |
![]() | |
Object (std::string name, std::string className) | |
Creates a new Object with the specified name and class. More... | |
Object (std::string name) | |
Creates a new Object with the specified name. More... | |
Object () | |
Creates a new Object with the default name ('Name'). | |
std::string const & | getName () const |
void | setName (std::string name) |
Sets the name of the Object. More... | |
std::string const & | getClass () const |
void | setUUID (std::string const &uuid) |
UUID const & | getUUID () const |
int64_t | getCreationTime () const |
virtual std::string | toString () const |
template<class T > | |
bool | isType () |
![]() | |
virtual void | onLoad (BuilderNode const *node) override |
virtual void | onSave (BuilderNode *node) const override |
![]() | |
void | getAllExposedNames (std::vector< std::string > &names) const |
bool | getVariable (std::string const &name, ExposedVariable &var) |
template<typename T > | |
bool | getVariableValue (std::string const &name, T &var) |
template<typename T > | |
bool | setVariableValue (std::string const &name, T const &value) |
virtual void | onVariableModified (std::string const &varName) |
Protected Member Functions | |
bool | buildExtentsMaterial () |
bool | buildExtentsMesh () |
![]() | |
void | exposeVariable (std::string const &name, std::string const &type, bool isPointer, bool isExposed, void *data) |
Protected Attributes | |
Math::Quaternion | m_StoredRotation |
Math::Vector3f | m_StoredScale |
![]() | |
SceneObject * | m_Parent |
![]() | |
std::string | m_Name |
std::string | m_Class |
UUID | m_UUID |
const int64_t | m_CreationTime |
![]() | |
std::unordered_map< std::string, ExposedVariable > | m_ExposedVariables |
Static Protected Attributes | |
static Graphics::Material * | m_ExtentsMaterial = nullptr |
static Graphics::Mesh * | m_ExtentsMesh = nullptr |
static uint32_t | m_InternalReference = 0 |
Implementation of ARenderable used by Point Lights during debug rendering. Displays a billboard at the origin of the light, and optionally also displays a rendering of the light bounds.
|
overridevirtual |
Special debug mode post-render call.
This method is typically invoked in special debug scenarios and/or inside of editor preview windows.
By default, it calls the standard post-render method.
Reimplemented from Ocular::Core::ARenderable.
|
overridevirtual |
Special debug mode pre-render call.
This method is typically invoked in special debug scenarios and/or inside of editor preview windows.
By default, it calls the standard pre-render method.
Reimplemented from Ocular::Core::ARenderable.
|
overridevirtual |
Special debug mode render call.
This method is typically invoked in special debug scenarios and/or inside of editor preview windows.
By default, it calls the standard render method.
Reimplemented from Ocular::Core::ARenderable.