Vesper 0.5.1
Vesper is short form for the Latin word for "Bat", as Vesper is designed to be small, lightweight, and easily handle things like particles and flocking behaviors in accordance with the nature of bats. \n It is meant to be a particle simulation, VFX editor, and CAN be used secondarily as a small game engine.
GitHub | Vesper Updates | Creator
Loading...
Searching...
No Matches
Vesper::CameraComponent Struct Reference

Component that holds camera data. More...

#include <Components.h>

Public Member Functions

 CameraComponent ()=default
 CameraComponent (const CameraComponent &)=default

Public Attributes

SceneCamera Camera
 The scene camera.
bool Primary = true
 Whether this camera is the primary camera.
bool FixedAspectRatio = false
 Whether the aspect ratio is fixed.

Detailed Description

Component that holds camera data.

Constructor & Destructor Documentation

◆ CameraComponent() [1/2]

Vesper::CameraComponent::CameraComponent ( )
default

◆ CameraComponent() [2/2]

Vesper::CameraComponent::CameraComponent ( const CameraComponent & )
default

Member Data Documentation

◆ Camera

SceneCamera Vesper::CameraComponent::Camera

The scene camera.

◆ FixedAspectRatio

bool Vesper::CameraComponent::FixedAspectRatio = false

Whether the aspect ratio is fixed.

◆ Primary

bool Vesper::CameraComponent::Primary = true

Whether this camera is the primary camera.

If multiple cameras exist, the primary camera for rendering will be the first one found marked as primary.


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