|
| FollowCamera (float fov, vec3 start_pos, float linear_acceleration_factor=3.0f, float base_velocity_factor=.6f, float follow_distance=2.0f, float distance_exponent=2.0f) |
|
virtual void | follow_explicit (double frametime, vec3 target, vec3 offset, vec3 viewtarget, float linear_acceleration_parameter, float base_velocity_parameter, float follow_distance_parameter, float distance_exponent_parameter) |
|
virtual void | follow (double frametime, vec3 target, vec3 offset, vec3 viewtarget) |
|
virtual void | reset (const vec3 &start_pos) |
|
virtual glm::mat4 | getView () const |
|
virtual vec3 | getViewDir () const |
|
float | getMaximumDistance () const |
|
void | setMaximumDistance (float max_distance) |
|
float | getAccelerationFactor () |
|
void | setAccelerationFactor (float linear_acceleration_factor) |
|
float | getFollowLength () |
|
void | setFollowLength (float follow_distance) |
|
| BaseCameraEntity (float fov, const glm::vec3 &loc) |
|
| BaseCameraEntity (float fov, const glm::vec3 &loc, float near_plane, float far_plane) |
|
virtual glm::vec3 | getLocation () const override |
|
virtual const Pose & | getPose () const override |
|
virtual void | setPose (const Pose &pose) override |
|
virtual glm::mat4 | getPerspective (float aspect) const override |
|
virtual glm::mat4 | getOrthographic () const override |
|
glm::mat4 | getOrthographic (float left, float right, float bottom, float top, float near_plane, float far_plane) |
|
virtual glm::vec3 | getViewDir (const Pose &aPoseOverride) const override |
|
virtual glm::mat4 | getView (const Pose &aPoseOverride) const override |
|
virtual void | setNearPlane (float near_plane) |
|
virtual void | setFarPlane (float far_plane) |
|
| Entity (const std::string &name) |
|
const ent_uuid_t & | UUID () const |
|
const std::string & | getName () const |
|
void | setName (const std::string &name) |
|
void | addChild (Entity *entity) |
|
virtual void | unlink () |
|
virtual void | link (Entity *parent) |
|
virtual Entity * | replace (Entity *replacement) |
| Replace the node in the tree with 'replacement' and return original node ('this')
|
|
const std::map< ent_uuid_t, Entity * > & | getChildren () const |
|
size_t | numChildren () const |
|
bool | hasParent () const |
|
Entity * | getParent () |
|
const Entity * | getParent () const |
|
virtual bool | isPosed () const override |
|
virtual bool | isDrawable () const |
|
virtual bool | isPoseable () const override |
|
virtual const Pose & | getCachedFinalPose () const |
|
virtual void | setCachedFinalPose (const Pose &aPose) |
|