GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
HMDProjection Class Reference
Inheritance diagram for HMDProjection:
Collaboration diagram for HMDProjection:

Public Member Functions

 HMDProjection (GameApi::Env &env, GameApi::EveryApi &ev, MainLoopItem *item, bool eye, bool standard, float nr, float fr, bool translate)
void Collect (CollectVisitor &vis)
void HeavyPrepare ()
Matrix Get300BoxToMetersMatrix () const
Matrix GetHMDMatrixPoseEye (bool eye, bool is_std)
Matrix DefaultProjection (GameApi::EveryApi &ev)
Matrix DefaultSceneTranslate (GameApi::EveryApi &ev)
Matrix GetHMDMatrixSceneTranslateEye (bool eye, bool is_std)
Matrix GetHMDMatrixProjectionEye (bool eye, bool is_std)
void Prepare ()
virtual void execute (MainLoopEnv &e)
virtual void handle_event (MainLoopEvent &e)
virtual std::vector< int > shader_id ()
Public Member Functions inherited from MainLoopItem
virtual ~MainLoopItem ()
virtual void logoexecute ()
virtual void FirstFrame ()
virtual bool ReadyToPrepare () const
virtual void destroy ()
virtual void set_vars (std::map< std::string, std::string > vars)
virtual std::map< std::string, std::string > get_vars () const
Public Member Functions inherited from CollectInterface
virtual ~CollectInterface ()
virtual int NumBlocks () const

Constructor & Destructor Documentation

◆ HMDProjection()

HMDProjection::HMDProjection ( GameApi::Env & env,
GameApi::EveryApi & ev,
MainLoopItem * item,
bool eye,
bool standard,
float nr,
float fr,
bool translate )
inline

Member Function Documentation

◆ Collect()

void HMDProjection::Collect ( CollectVisitor & vis)
inlinevirtual

Implements MainLoopItem.

◆ DefaultProjection()

Matrix HMDProjection::DefaultProjection ( GameApi::EveryApi & ev)
inline
Here is the caller graph for this function:

◆ DefaultSceneTranslate()

Matrix HMDProjection::DefaultSceneTranslate ( GameApi::EveryApi & ev)
inline
Here is the caller graph for this function:

◆ execute()

virtual void HMDProjection::execute ( MainLoopEnv & e)
inlinevirtual

Implements MainLoopItem.

◆ Get300BoxToMetersMatrix()

Matrix HMDProjection::Get300BoxToMetersMatrix ( ) const
inline
Here is the caller graph for this function:

◆ GetHMDMatrixPoseEye()

Matrix HMDProjection::GetHMDMatrixPoseEye ( bool eye,
bool is_std )
inline
Here is the caller graph for this function:

◆ GetHMDMatrixProjectionEye()

Matrix HMDProjection::GetHMDMatrixProjectionEye ( bool eye,
bool is_std )
inline
Here is the caller graph for this function:

◆ GetHMDMatrixSceneTranslateEye()

Matrix HMDProjection::GetHMDMatrixSceneTranslateEye ( bool eye,
bool is_std )
inline
Here is the caller graph for this function:

◆ handle_event()

virtual void HMDProjection::handle_event ( MainLoopEvent & e)
inlinevirtual

Implements MainLoopItem.

◆ HeavyPrepare()

void HMDProjection::HeavyPrepare ( )
inlinevirtual

Implements MainLoopItem.

◆ Prepare()

void HMDProjection::Prepare ( )
inlinevirtual

Implements MainLoopItem.

◆ shader_id()

virtual std::vector< int > HMDProjection::shader_id ( )
inlinevirtual

Reimplemented from MainLoopItem.


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