Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CameraTarget_data Struct Reference

#include <ECS_Components.h>

+ Collaboration diagram for CameraTarget_data:

Public Member Functions

 CameraTarget_data ()=default
 
 CameraTarget_data (const CameraTarget_data &)=default
 
CameraTarget_dataoperator= (const CameraTarget_data &)=default
 

Public Attributes

EntityID targetEntityID = INVALID_ENTITY_ID
 
bool followTarget = false
 
float smoothFactor = 5.0f
 
Vector followOffset = { 0.f, 0.f, 0.f }
 
bool allowManualControl = true
 
float manualControlDecay = 2.0f
 

Detailed Description

Definition at line 660 of file ECS_Components.h.

Constructor & Destructor Documentation

◆ CameraTarget_data() [1/2]

CameraTarget_data::CameraTarget_data ( )
default

◆ CameraTarget_data() [2/2]

CameraTarget_data::CameraTarget_data ( const CameraTarget_data )
default

Member Function Documentation

◆ operator=()

CameraTarget_data & CameraTarget_data::operator= ( const CameraTarget_data )
default

Member Data Documentation

◆ allowManualControl

bool CameraTarget_data::allowManualControl = true

Definition at line 668 of file ECS_Components.h.

◆ followOffset

Vector CameraTarget_data::followOffset = { 0.f, 0.f, 0.f }

Definition at line 666 of file ECS_Components.h.

◆ followTarget

bool CameraTarget_data::followTarget = false

◆ manualControlDecay

float CameraTarget_data::manualControlDecay = 2.0f

Definition at line 669 of file ECS_Components.h.

◆ smoothFactor

float CameraTarget_data::smoothFactor = 5.0f

Definition at line 665 of file ECS_Components.h.

◆ targetEntityID

EntityID CameraTarget_data::targetEntityID = INVALID_ENTITY_ID

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