Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Sfx Struct Reference

#include <Sfx.h>

Collaboration diagram for Sfx:
Collaboration graph
[legend]

Public Member Functions

 Sfx ()=delete
 
 Sfx (const vector3d &pos, const vector3d &vel, const float speed, const SFX_TYPE type)
 
 Sfx (const Json &jsonObj)
 
const vector3dGetPosition () const
 
float AgeBlend () const
 
void SetPosition (const vector3d &p)
 
void TimeStepUpdate (const float timeStep)
 
void SaveToJson (Json &jsonObj)
 

Public Attributes

vector3d m_pos
 
vector3d m_vel
 
float m_age
 
float m_speed
 
enum SFX_TYPE m_type
 

Constructor & Destructor Documentation

◆ Sfx() [1/3]

Sfx::Sfx ( )
delete

◆ Sfx() [2/3]

Sfx::Sfx ( const vector3d pos,
const vector3d vel,
const float  speed,
const SFX_TYPE  type 
)

◆ Sfx() [3/3]

Sfx::Sfx ( const Json jsonObj)

Member Function Documentation

◆ AgeBlend()

float Sfx::AgeBlend ( ) const

◆ GetPosition()

const vector3d & Sfx::GetPosition ( ) const
inline

◆ SaveToJson()

void Sfx::SaveToJson ( Json jsonObj)

◆ SetPosition()

void Sfx::SetPosition ( const vector3d p)

◆ TimeStepUpdate()

void Sfx::TimeStepUpdate ( const float  timeStep)

Member Data Documentation

◆ m_age

float Sfx::m_age

◆ m_pos

vector3d Sfx::m_pos

◆ m_speed

float Sfx::m_speed

◆ m_type

enum SFX_TYPE Sfx::m_type

◆ m_vel

vector3d Sfx::m_vel

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