#include <CameraComponent.hpp>
◆ ProjectionType
Enumerator |
---|
Invalid | |
Perspective | |
Orthographic | |
◆ getFrustumCornersWorldSpace()
std::vector< glm::vec3 > shkyera::CameraComponent::getFrustumCornersWorldSpace |
( |
float |
localNearPlane, |
|
|
float |
localFarPlane, |
|
|
const TransformComponent & |
transformComponent |
|
) |
| const |
|
inline |
◆ getProjectionMatrix() [1/2]
glm::mat4 shkyera::CameraComponent::getProjectionMatrix |
( |
| ) |
const |
|
inline |
◆ getProjectionMatrix() [2/2]
glm::mat4 shkyera::CameraComponent::getProjectionMatrix |
( |
ProjectionType |
projection, |
|
|
float |
localNearPlane, |
|
|
float |
localFarPlane |
|
) |
| const |
|
inlineprivate |
◆ getRayAt()
◆ getViewMatrix()
◆ aspectRatio
float shkyera::CameraComponent::aspectRatio {16.0f / 9.0f} |
◆ farPlane
float shkyera::CameraComponent::farPlane {1000.0f} |
◆ fov
float shkyera::CameraComponent::fov {40.0f} |
◆ nearPlane
float shkyera::CameraComponent::nearPlane {0.1f} |
◆ projectionType
The documentation for this class was generated from the following file: