CommonLibSSE NG
Loading...
Searching...
No Matches
RE::GFxValue::DisplayInfo Class Reference

#include <GFxValue.h>

Public Types

enum class  Flag {
  kNone = 0 , kX = 1 << 0 , kY = 1 << 1 , kRotation = 1 << 2 ,
  kXScale = 1 << 3 , kYScale = 1 << 4 , kAlpha = 1 << 5 , kVisible = 1 << 6 ,
  kZ = 1 << 7 , kXRotation = 1 << 8 , kYRotation = 1 << 9 , kZScale = 1 << 10 ,
  kFOV = 1 << 11 , kPerspMatrix3D = 1 << 12 , kViewMatrix3D = 1 << 13
}
 

Public Member Functions

 DisplayInfo ()=default
 
 DisplayInfo (double a_x, double a_y)
 
 DisplayInfo (double a_rotation)
 
 DisplayInfo (bool a_visible)
 
void Clear ()
 
double GetAlpha () const
 
double GetFOV () const
 
double GetRotation () const
 
bool GetVisible () const
 
const GMatrix3DGetPerspectiveMatrix3D () const
 
const GMatrix3DGetViewMatrix3D () const
 
double GetX () const
 
double GetY () const
 
double GetZ () const
 
double GetXRotation () const
 
double GetYRotation () const
 
double GetXScale () const
 
double GetYScale () const
 
double GetZScale () const
 
bool IsFlagSet (Flag a_flag) const
 
void Initialize (Flag a_varsSet, double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible, double a_z, double a_xRotation, double a_yRotation, double a_zScale, double a_fov, const GMatrix3D *a_viewM, const GMatrix3D *a_perspM)
 
void SetVisible (bool a_visible)
 
void SetPerspectiveMatrix3D (const GMatrix3D *a_mat)
 
void Set (double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible)
 
void Set (double a_x, double a_y, double a_rotation, double a_xScale, double a_yScale, double a_alpha, bool a_visible, double a_z, double a_xRotation, double a_yRotation, double a_zScale)
 
void SetViewMatrix3D (const GMatrix3D *a_mat)
 
void SetAlpha (double a_alpha)
 
void SetFOV (double a_fov)
 
void SetPosition (double a_x, double a_y)
 
void SetRotation (double a_degrees)
 
void SetScale (double a_xScale, double a_yScale)
 
void SetX (double a_x)
 
void SetXRotation (double a_degrees)
 
void SetXScale (double a_xScale)
 
void SetY (double a_y)
 
void SetYRotation (double a_degrees)
 
void SetYScale (double a_yScale)
 
void SetZ (double a_z)
 
void SetZScale (double a_zScale)
 

Protected Member Functions

void SetFlags (Flag a_flags)
 
void ClearFlags (Flag a_flags)
 

Protected Attributes

double _x = 0.0
 
double _y = 0.0
 
double _rotation = 0.0
 
double _xScale = 0.0
 
double _yScale = 0.0
 
double _alpha = 0.0
 
bool _visible = false
 
std::uint8_t _pad31 = 0
 
std::uint16_t _pad32 = 0
 
std::uint32_t _pad34 = 0
 
double _z = 0.0
 
double _xRotation = 0.0
 
double _yRotation = 0.0
 
double _zScale = 0.0
 
double _fov = 0.0
 
GMatrix3D _viewMatrix3D
 
GMatrix3D _perspMatrix3D
 
stl::enumeration< Flag, std::uint16_t > _flags = Flag::kNone
 
std::uint16_t _padD2 = 0
 
std::uint32_t _padD4 = 0
 

Member Enumeration Documentation

◆ Flag

Enumerator
kNone 
kX 
kY 
kRotation 
kXScale 
kYScale 
kAlpha 
kVisible 
kZ 
kXRotation 
kYRotation 
kZScale 
kFOV 
kPerspMatrix3D 
kViewMatrix3D 

Constructor & Destructor Documentation

◆ DisplayInfo() [1/4]

RE::GFxValue::DisplayInfo::DisplayInfo ( )
default

◆ DisplayInfo() [2/4]

RE::GFxValue::DisplayInfo::DisplayInfo ( double  a_x,
double  a_y 
)

◆ DisplayInfo() [3/4]

RE::GFxValue::DisplayInfo::DisplayInfo ( double  a_rotation)

◆ DisplayInfo() [4/4]

RE::GFxValue::DisplayInfo::DisplayInfo ( bool  a_visible)

Member Function Documentation

◆ Clear()

void RE::GFxValue::DisplayInfo::Clear ( )

◆ ClearFlags()

void RE::GFxValue::DisplayInfo::ClearFlags ( Flag  a_flags)
protected

◆ GetAlpha()

double RE::GFxValue::DisplayInfo::GetAlpha ( ) const

◆ GetFOV()

double RE::GFxValue::DisplayInfo::GetFOV ( ) const

◆ GetPerspectiveMatrix3D()

const GMatrix3D * RE::GFxValue::DisplayInfo::GetPerspectiveMatrix3D ( ) const

◆ GetRotation()

double RE::GFxValue::DisplayInfo::GetRotation ( ) const

◆ GetViewMatrix3D()

const GMatrix3D * RE::GFxValue::DisplayInfo::GetViewMatrix3D ( ) const

◆ GetVisible()

bool RE::GFxValue::DisplayInfo::GetVisible ( ) const

◆ GetX()

double RE::GFxValue::DisplayInfo::GetX ( ) const

◆ GetXRotation()

double RE::GFxValue::DisplayInfo::GetXRotation ( ) const

◆ GetXScale()

double RE::GFxValue::DisplayInfo::GetXScale ( ) const

◆ GetY()

double RE::GFxValue::DisplayInfo::GetY ( ) const

◆ GetYRotation()

double RE::GFxValue::DisplayInfo::GetYRotation ( ) const

◆ GetYScale()

double RE::GFxValue::DisplayInfo::GetYScale ( ) const

◆ GetZ()

double RE::GFxValue::DisplayInfo::GetZ ( ) const

◆ GetZScale()

double RE::GFxValue::DisplayInfo::GetZScale ( ) const

◆ Initialize()

void RE::GFxValue::DisplayInfo::Initialize ( Flag  a_varsSet,
double  a_x,
double  a_y,
double  a_rotation,
double  a_xScale,
double  a_yScale,
double  a_alpha,
bool  a_visible,
double  a_z,
double  a_xRotation,
double  a_yRotation,
double  a_zScale,
double  a_fov,
const GMatrix3D a_viewM,
const GMatrix3D a_perspM 
)

◆ IsFlagSet()

bool RE::GFxValue::DisplayInfo::IsFlagSet ( Flag  a_flag) const

◆ Set() [1/2]

void RE::GFxValue::DisplayInfo::Set ( double  a_x,
double  a_y,
double  a_rotation,
double  a_xScale,
double  a_yScale,
double  a_alpha,
bool  a_visible 
)

◆ Set() [2/2]

void RE::GFxValue::DisplayInfo::Set ( double  a_x,
double  a_y,
double  a_rotation,
double  a_xScale,
double  a_yScale,
double  a_alpha,
bool  a_visible,
double  a_z,
double  a_xRotation,
double  a_yRotation,
double  a_zScale 
)

◆ SetAlpha()

void RE::GFxValue::DisplayInfo::SetAlpha ( double  a_alpha)

◆ SetFlags()

void RE::GFxValue::DisplayInfo::SetFlags ( Flag  a_flags)
protected

◆ SetFOV()

void RE::GFxValue::DisplayInfo::SetFOV ( double  a_fov)

◆ SetPerspectiveMatrix3D()

void RE::GFxValue::DisplayInfo::SetPerspectiveMatrix3D ( const GMatrix3D a_mat)

◆ SetPosition()

void RE::GFxValue::DisplayInfo::SetPosition ( double  a_x,
double  a_y 
)

◆ SetRotation()

void RE::GFxValue::DisplayInfo::SetRotation ( double  a_degrees)

◆ SetScale()

void RE::GFxValue::DisplayInfo::SetScale ( double  a_xScale,
double  a_yScale 
)

◆ SetViewMatrix3D()

void RE::GFxValue::DisplayInfo::SetViewMatrix3D ( const GMatrix3D a_mat)

◆ SetVisible()

void RE::GFxValue::DisplayInfo::SetVisible ( bool  a_visible)

◆ SetX()

void RE::GFxValue::DisplayInfo::SetX ( double  a_x)

◆ SetXRotation()

void RE::GFxValue::DisplayInfo::SetXRotation ( double  a_degrees)

◆ SetXScale()

void RE::GFxValue::DisplayInfo::SetXScale ( double  a_xScale)

◆ SetY()

void RE::GFxValue::DisplayInfo::SetY ( double  a_y)

◆ SetYRotation()

void RE::GFxValue::DisplayInfo::SetYRotation ( double  a_degrees)

◆ SetYScale()

void RE::GFxValue::DisplayInfo::SetYScale ( double  a_yScale)

◆ SetZ()

void RE::GFxValue::DisplayInfo::SetZ ( double  a_z)

◆ SetZScale()

void RE::GFxValue::DisplayInfo::SetZScale ( double  a_zScale)

Member Data Documentation

◆ _alpha

double RE::GFxValue::DisplayInfo::_alpha = 0.0
protected

◆ _flags

stl::enumeration<Flag, std::uint16_t> RE::GFxValue::DisplayInfo::_flags = Flag::kNone
protected

◆ _fov

double RE::GFxValue::DisplayInfo::_fov = 0.0
protected

◆ _pad31

std::uint8_t RE::GFxValue::DisplayInfo::_pad31 = 0
protected

◆ _pad32

std::uint16_t RE::GFxValue::DisplayInfo::_pad32 = 0
protected

◆ _pad34

std::uint32_t RE::GFxValue::DisplayInfo::_pad34 = 0
protected

◆ _padD2

std::uint16_t RE::GFxValue::DisplayInfo::_padD2 = 0
protected

◆ _padD4

std::uint32_t RE::GFxValue::DisplayInfo::_padD4 = 0
protected

◆ _perspMatrix3D

GMatrix3D RE::GFxValue::DisplayInfo::_perspMatrix3D
protected

◆ _rotation

double RE::GFxValue::DisplayInfo::_rotation = 0.0
protected

◆ _viewMatrix3D

GMatrix3D RE::GFxValue::DisplayInfo::_viewMatrix3D
protected

◆ _visible

bool RE::GFxValue::DisplayInfo::_visible = false
protected

◆ _x

double RE::GFxValue::DisplayInfo::_x = 0.0
protected

◆ _xRotation

double RE::GFxValue::DisplayInfo::_xRotation = 0.0
protected

◆ _xScale

double RE::GFxValue::DisplayInfo::_xScale = 0.0
protected

◆ _y

double RE::GFxValue::DisplayInfo::_y = 0.0
protected

◆ _yRotation

double RE::GFxValue::DisplayInfo::_yRotation = 0.0
protected

◆ _yScale

double RE::GFxValue::DisplayInfo::_yScale = 0.0
protected

◆ _z

double RE::GFxValue::DisplayInfo::_z = 0.0
protected

◆ _zScale

double RE::GFxValue::DisplayInfo::_zScale = 0.0
protected

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