Chicane

View Component

Header
Chicane/Game/Transformable/Component/ViewComponent.hpp
Namespace
Chicane::ViewComponent

Constructors

ModifierNameDescription
ViewComponent()

Destructors

ModifierNameDescription
virtual~ViewComponent()

Override Functions

AccessModifierTypeNameDescription
publicvirtualvoidonActivation()
publicvirtualvoidonDeactivation()

Functions

AccessModifierTypeNameDescription
protectedvirtualvoidonTransform()
publicboolcanSee(const Transformable* inSubject)
publicconst Vec<2, std::uint32_t>&getViewport()
publicvoidsetViewport(std::uint32_t inWidth, std::uint32_t inHeight)
publicvoidsetViewport(const Vec<2, std::uint32_t>& inViewportResolution)
publicfloatgetAspectRatio()
publicfloatgetFieldOfView()
publicvoidsetFieldOfView(float inFov)
publicfloatgetNearClip()
publicvoidsetNearClip(float inNearClip)
publicfloatgetFarClip()
publicvoidsetFarClip(float inFarClip)
publicvoidsetClip(float inNearClip, float inFarClip)
publicconst View::Data&getData()
protectedvoidupdateProjection()
protectedvoidupdateView()
protectedvoidupdateViewProjection()

Properties

AccessModifierTypeNameDescription
privateView::Settingsm_settings
privateView::SphereFrustumm_frustum
privateView::Datam_data