|
Fillwave
10.0.0
|
Light implementing directional torch. More...
#include <LightSpot.h>
Public Member Functions | |
| LightSpot (flc::Texture2DRenderable *tex, glm::vec3 pos, glm::quat rot, glm::vec4 intensity, Moveable *observed=nullptr) | |
| flc::Texture2DRenderable * | getShadowTexture () |
| CameraPerspective * | getShadowCamera () |
| void | updateShadowCamera () |
| void | log () |
Public Member Functions inherited from flw::Light | |
| Light (glm::vec3 pos, glm::vec4 intensity, Moveable *observed) | |
| Light (const Light &)=delete | |
| Light | operator= (const Light &)=delete |
| void | updateFromFollowed () |
| void | setAttenuation (LightAttenuationData &attenuation) |
| LightAttenuationData | getAttenuation () |
| void | setIntensity (glm::vec4 intensity) |
| glm::vec4 | getIntensity () |
| void | log () |
| void | onDestroy (Observable *observable) override |
| void | onChanged (Observable *observable) override |
Public Member Functions inherited from flw::Moveable | |
| Moveable (glm::vec3 translation=glm::vec3(0.0), glm::quat rotation=glm::quat(1.0, 0.0, 0.0, 0.0), unsigned int callbacks=1) | |
| Moveable & | operator= (const Moveable &) |
| Moveable (const Moveable &) | |
| Moveable & | operator= (Moveable &&) |
| Moveable (Moveable &&) | |
| void | moveTo (glm::vec3 coordinates) |
| void | moveToX (float distance) |
| void | moveToY (float distance) |
| void | moveToZ (float distance) |
| void | moveBy (glm::vec3 coordinates) |
| void | moveByX (float distance) |
| void | moveByY (float distance) |
| void | moveByZ (float distance) |
| void | moveInDirection (glm::vec3 direction) |
| glm::vec3 | getTranslation () |
| void | scaleTo (float scale) |
| void | scaleTo (glm::vec3 scale) |
| void | scaleToX (float scale) |
| void | scaleToY (float scale) |
| void | scaleToZ (float scale) |
| glm::vec3 | getScale () |
| void | rotateTo (glm::quat rotation) |
| void | rotateTo (const glm::vec3 &axis, float angle) |
| void | rotateBy (const glm::vec3 &axis, float angle) |
| void | rotateByX (float angle) |
| void | rotateByY (float angle) |
| void | rotateByZ (float angle) |
| glm::quat | getRotation () |
| void | updateMatrixCache () |
| bool | isRefresh () const |
| void | setRefresh (bool state) |
| glm::mat4 | getParentMMC () const |
| glm::quat | getParentRotation () const |
| void | waitInTime (float deltaTime) |
| void | moveBy (float deltaTime, const glm::vec3 &deltaMove, Callback< float(float)> ease=LinearInterpolation) |
| void | moveTo (float durationInSeconds, const glm::vec3 &endTranslation, Callback< float(float)> ease) |
| void | scaleBy (float deltaTime, const glm::vec3 &aScale, Callback< float(float)> ease=LinearInterpolation) |
| void | scaleTo (float deltaTime, const glm::vec3 &aScale, Callback< float(float)> ease=LinearInterpolation) |
| void | rotateBy (float deltaTime, const float aAngle, const glm::vec3 &aAxis, Callback< float(float)> ease=LinearInterpolation) |
| void | rotateTo (float deltaTime, const float aAngle, const glm::vec3 &aAxis, Callback< float(float)> ease=LinearInterpolation) |
| void | loop (int loops) |
| void | stop () |
| bool | isMoving () |
| float | stepInTime (float delta) |
| void | attachTimeCallback (float deltaTime, Callback< float(float)> aAction) |
| template<typename... ARGS> | |
| void | attachTimeCallback (float deltaTime, Callback< float(float, ARGS...)> aAction, ARGS &&...args) |
Public Member Functions inherited from flw::Observable | |
| Observable (const Observable &arg) | |
| Observable & | operator= (const Observable &) |
| Observable (Observable &&) | |
| Observable & | operator= (Observable &&) |
| void | addObserver (IObserver *observer) |
| void | dropObserver (IObserver *observer) |
Public Member Functions inherited from flw::IObserver | |
| IObserver (const IObserver &arg) | |
| IObserver & | operator= (const IObserver &) |
| IObserver (IObserver &&) | |
| IObserver & | operator= (IObserver &&) |
Protected Attributes | |
| flc::Texture2DRenderable * | mShadowTexture |
| pu< CameraPerspective > | mShadowCamera |
Protected Attributes inherited from flw::Light | |
| Moveable * | mObserved |
| bool | mIsFollowedUpdated |
| glm::vec4 | mIntensity |
| LightAttenuationData | mAttenuation |
Protected Attributes inherited from flw::Moveable | |
| glm::fvec3 | mTranslation |
| glm::quat | mRotation |
| glm::vec3 | mScale |
| glm::quat | mParentRotation |
| glm::mat4 | mMMC |
| glm::mat4 | mParentMMC |
| bool | mRefresh |
| float | mCallbackTimePassed |
Additional Inherited Members | |
Protected Member Functions inherited from flw::Observable | |
| void | notifyObservers () |
Light implementing directional torch.
1.8.11