persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
Event::ConfigureCamera Struct Reference

All parameters needed to configure a CameraSystem in one call. More...

#include <CameraEvents.hpp>

Inheritance diagram for Event::ConfigureCamera:
Collaboration diagram for Event::ConfigureCamera:

Public Attributes

CameraMode mode = CameraMode::Follow
Vec3< ae::q20_12_t > eye = {}
Vec3< ae::q20_12_t > target = {}
 Look-at point. Used by Static only.
ae::q20_12_t initialAngle {0}
 Starting orbit angle in radians.
ae::q20_12_t distance {1.5}
 Distance from character to camera eye.
ae::q20_12_t height {0.6}
 Eye height above the character origin.
ae::q20_12_t lookAhead {0.5}
 Distance ahead of the character for the look-at point.
ae::q20_12_t angleIncrement {0.05}
 Radians rotated per frame on L/R input.
bool isRotationLocked = false
 Disable camera angle rotation on L/R input.

Detailed Description

All parameters needed to configure a CameraSystem in one call.

Set the relevant fields for the chosen mode. Fields irrelevant to the chosen mode are ignored.

Definition at line 34 of file CameraEvents.hpp.

Member Data Documentation

◆ angleIncrement

ae::q20_12_t Event::ConfigureCamera::angleIncrement {0.05}

Radians rotated per frame on L/R input.

Definition at line 47 of file CameraEvents.hpp.

◆ distance

ae::q20_12_t Event::ConfigureCamera::distance {1.5}

Distance from character to camera eye.

Definition at line 44 of file CameraEvents.hpp.

◆ eye

Vec3<ae::q20_12_t> Event::ConfigureCamera::eye = {}

Definition at line 39 of file CameraEvents.hpp.

◆ height

ae::q20_12_t Event::ConfigureCamera::height {0.6}

Eye height above the character origin.

Definition at line 45 of file CameraEvents.hpp.

◆ initialAngle

ae::q20_12_t Event::ConfigureCamera::initialAngle {0}

Starting orbit angle in radians.

Definition at line 43 of file CameraEvents.hpp.

◆ isRotationLocked

bool Event::ConfigureCamera::isRotationLocked = false

Disable camera angle rotation on L/R input.

Definition at line 48 of file CameraEvents.hpp.

◆ lookAhead

ae::q20_12_t Event::ConfigureCamera::lookAhead {0.5}

Distance ahead of the character for the look-at point.

Definition at line 46 of file CameraEvents.hpp.

◆ mode

CameraMode Event::ConfigureCamera::mode = CameraMode::Follow

Definition at line 36 of file CameraEvents.hpp.

◆ target

Vec3<ae::q20_12_t> Event::ConfigureCamera::target = {}

Look-at point. Used by Static only.

Definition at line 40 of file CameraEvents.hpp.


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