VulkanEngine 0.1
Graphics engine using Vulkan
Loading...
Searching...
No Matches
VulkanEngine::SceneState Class Reference

Contains information about the current state of the scene. More...

#include <SceneState.h>

Public Member Functions

 SceneState (const Scene &_scene)
 Constructor.
 
const ScenegetScene () const
 
const Eigen::Matrix4f getTransform () const
 
void setTransform (const Eigen::Matrix4f &transform)
 
const Eigen::Matrix4f getTotalTransform () const
 
const Eigen::Matrix4f getViewMatrix () const
 
void setViewMatrix (const Eigen::Matrix4f &_view_matrix)
 Set the current view matrix.
 
const Eigen::Matrix4f getProjectionMatrix () const
 
void setProjectionMatrix (const Eigen::Matrix4f &_projection_matrix)
 Set the current projection matrix.
 

Detailed Description

Contains information about the current state of the scene.

Member Function Documentation

◆ getProjectionMatrix()

const Eigen::Matrix4f VulkanEngine::SceneState::getProjectionMatrix ( ) const
Returns
The current projection matrix.

◆ getTotalTransform()

const Eigen::Matrix4f VulkanEngine::SceneState::getTotalTransform ( ) const
Returns
The current total transform.

◆ getTransform()

const Eigen::Matrix4f VulkanEngine::SceneState::getTransform ( ) const
Returns
The current total transformation matrix.

◆ getViewMatrix()

const Eigen::Matrix4f VulkanEngine::SceneState::getViewMatrix ( ) const
Returns
The current view matrix.

◆ setTransform()

void VulkanEngine::SceneState::setTransform ( const Eigen::Matrix4f &  transform)

Set the current total transformation matrix.

Parameters
transformThe transform to set

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