OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
ODMFace Struct Reference

#include <BSPModel.h>

Public Member Functions

bool HasEventHint ()
 
bool Invisible () const
 
bool Visible () const
 
bool Portal () const
 
bool Fluid () const
 
bool Indoor_sky () const
 
bool Clickable () const
 
bool Pressure_Plate () const
 
bool Ethereal () const
 
bool IsTextureFrameTable ()
 
void ToggleIsTextureFrameTable ()
 
void SetTexture (std::string_view filename)
 
GraphicsImageGetTexture ()
 
bool Contains (const Vec3f &pos, int model_idx, int slack=0, FaceAttributes override_plane=0) const
 

Public Attributes

int index = 0
 
Planef facePlane
 
PlaneZCalcf zCalc
 
FaceAttributes uAttributes = 0
 
std::array< int16_t, 20 > pVertexIDs = {{}}
 
std::array< int16_t, 20 > pTextureUIDs = {{}}
 
std::array< int16_t, 20 > pTextureVIDs = {{}}
 
void * resource = nullptr
 
int texunit = -1
 
int texlayer = -1
 
int16_t sTextureDeltaU = 0
 
int16_t sTextureDeltaV = 0
 
BBoxf pBoundingBox
 
int16_t sCogNumber = 0
 
int16_t sCogTriggeredID = 0
 
int16_t sCogTriggerType = 0
 
uint8_t uNumVertices = 0
 
PolygonType uPolygonType = POLYGON_Invalid
 
uint8_t uShadeType = 0
 
uint8_t bVisible = 0
 

Member Function Documentation

◆ Clickable()

bool ODMFace::Clickable ( ) const
inline

◆ Contains()

bool ODMFace::Contains ( const Vec3f pos,
int  model_idx,
int  slack = 0,
FaceAttributes  override_plane = 0 
) const

◆ Ethereal()

bool ODMFace::Ethereal ( ) const
inline

◆ Fluid()

bool ODMFace::Fluid ( ) const
inline

◆ GetTexture()

GraphicsImage * ODMFace::GetTexture ( )

◆ HasEventHint()

bool ODMFace::HasEventHint ( )

◆ Indoor_sky()

bool ODMFace::Indoor_sky ( ) const
inline

◆ Invisible()

bool ODMFace::Invisible ( ) const
inline

◆ IsTextureFrameTable()

bool ODMFace::IsTextureFrameTable ( )
inline

◆ Portal()

bool ODMFace::Portal ( ) const
inline

◆ Pressure_Plate()

bool ODMFace::Pressure_Plate ( ) const
inline

◆ SetTexture()

void ODMFace::SetTexture ( std::string_view  filename)

◆ ToggleIsTextureFrameTable()

void ODMFace::ToggleIsTextureFrameTable ( )
inline

◆ Visible()

bool ODMFace::Visible ( ) const
inline

Member Data Documentation

◆ bVisible

uint8_t ODMFace::bVisible = 0

◆ facePlane

Planef ODMFace::facePlane

◆ index

int ODMFace::index = 0

◆ pBoundingBox

BBoxf ODMFace::pBoundingBox

◆ pTextureUIDs

std::array<int16_t, 20> ODMFace::pTextureUIDs = {{}}

◆ pTextureVIDs

std::array<int16_t, 20> ODMFace::pTextureVIDs = {{}}

◆ pVertexIDs

std::array<int16_t, 20> ODMFace::pVertexIDs = {{}}

◆ resource

void* ODMFace::resource = nullptr

◆ sCogNumber

int16_t ODMFace::sCogNumber = 0

◆ sCogTriggeredID

int16_t ODMFace::sCogTriggeredID = 0

◆ sCogTriggerType

int16_t ODMFace::sCogTriggerType = 0

◆ sTextureDeltaU

int16_t ODMFace::sTextureDeltaU = 0

◆ sTextureDeltaV

int16_t ODMFace::sTextureDeltaV = 0

◆ texlayer

int ODMFace::texlayer = -1

◆ texunit

int ODMFace::texunit = -1

◆ uAttributes

FaceAttributes ODMFace::uAttributes = 0

◆ uNumVertices

uint8_t ODMFace::uNumVertices = 0

◆ uPolygonType

PolygonType ODMFace::uPolygonType = POLYGON_Invalid

◆ uShadeType

uint8_t ODMFace::uShadeType = 0

◆ zCalc

PlaneZCalcf ODMFace::zCalc

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