VEX Engine
Retro looking game engine made in vulkan mostly because i wanted to understand it better.
Loading...
Searching...
No Matches
vex::CameraComponent Struct Reference

Struct that contains camera properties. Used by build in CameraObject, but needed for any custom one for engine to recognise object as valid CameraObject. More...

#include <BasicComponents.hpp>

Public Attributes

float fov = 45.0f
float nearPlane = 0.1f
float farPlane = 100.0f
uint32_t id = UINT32_MAX

Detailed Description

Struct that contains camera properties. Used by build in CameraObject, but needed for any custom one for engine to recognise object as valid CameraObject.

Definition at line 475 of file BasicComponents.hpp.

Member Data Documentation

◆ farPlane

float vex::CameraComponent::farPlane = 100.0f

Definition at line 478 of file BasicComponents.hpp.

◆ fov

float vex::CameraComponent::fov = 45.0f

Definition at line 476 of file BasicComponents.hpp.

◆ id

uint32_t vex::CameraComponent::id = UINT32_MAX

Definition at line 479 of file BasicComponents.hpp.

◆ nearPlane

float vex::CameraComponent::nearPlane = 0.1f

Definition at line 477 of file BasicComponents.hpp.


The documentation for this struct was generated from the following file: