Falcon
Public Member Functions | List of all members
Transform Struct Reference

#include <TransformComponent.h>

Inheritance diagram for Transform:
BasicComponent

Public Member Functions

 Transform ()
 
 Transform (glm::vec3 pos, glm::quat rot, glm::vec3 scale)
 
void SetRelativeSpace (glm::mat4 parentMatrix)
 
void popOTID ()
 
short int topOTID ()
 
const IDVectorGetOTID () const
 
void ClearOTID ()
 
void pushOTID (unsigned short int value)
 
const bool GetFlag () const
 
void SetPosition (const glm::vec3 &pos)
 
void SetRotation (const glm::quat &rot)
 
void SetScale (const glm::vec3 &scale)
 
const glm::vec3 & GetFront () const
 
const glm::vec3 & GetPosition () const
 
const glm::quat & GetRotation () const
 
const glm::vec3 & GetScale () const
 
const glm::mat4 & GetModel () const
 
const glm::vec3 GetRelativePosition () const
 
void CheckFlag ()
 

Detailed Description

Stucture to hold Transform data for each entity.

Constructor & Destructor Documentation

◆ Transform() [1/2]

Transform::Transform ( )
inline

◆ Transform() [2/2]

Transform::Transform ( glm::vec3  pos,
glm::quat  rot,
glm::vec3  scale 
)
inline

Member Function Documentation

◆ CheckFlag()

void Transform::CheckFlag ( )
inline

◆ ClearOTID()

void Transform::ClearOTID ( )
inline

◆ GetFlag()

const bool Transform::GetFlag ( ) const
inline

◆ GetFront()

const glm::vec3& Transform::GetFront ( ) const
inline

◆ GetModel()

const glm::mat4& Transform::GetModel ( ) const
inline

◆ GetOTID()

const IDVector& Transform::GetOTID ( ) const
inline

◆ GetPosition()

const glm::vec3& Transform::GetPosition ( ) const
inline

◆ GetRelativePosition()

const glm::vec3 Transform::GetRelativePosition ( ) const
inline

◆ GetRotation()

const glm::quat& Transform::GetRotation ( ) const
inline

◆ GetScale()

const glm::vec3& Transform::GetScale ( ) const
inline

◆ popOTID()

void Transform::popOTID ( )
inline

◆ pushOTID()

void Transform::pushOTID ( unsigned short int  value)
inline

◆ SetPosition()

void Transform::SetPosition ( const glm::vec3 &  pos)
inline

◆ SetRelativeSpace()

void Transform::SetRelativeSpace ( glm::mat4  parentMatrix)
inline

◆ SetRotation()

void Transform::SetRotation ( const glm::quat &  rot)
inline

◆ SetScale()

void Transform::SetScale ( const glm::vec3 &  scale)
inline

◆ topOTID()

short int Transform::topOTID ( )
inline

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