OpenEnroth cf228e9
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 IsAnimated ()
 
void ToggleIsAnimated ()
 
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 attributes = 0
 
std::array< int16_t, 20 > vertexIds = {{}}
 
std::array< int16_t, 20 > textureUs = {{}}
 
std::array< int16_t, 20 > textureVs = {{}}
 
GraphicsImagetexture = nullptr
 
int animationId = 0
 
int texunit = -1
 
int texlayer = -1
 
int16_t textureDeltaU = 0
 
int16_t textureDeltaV = 0
 
BBoxf boundingBox
 
int16_t cogNumber = 0
 
int16_t eventId = 0
 
uint8_t numVertices = 0
 
PolygonType polygonType = POLYGON_Invalid
 

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

◆ IsAnimated()

bool ODMFace::IsAnimated ( )
inline

◆ Portal()

bool ODMFace::Portal ( ) const
inline

◆ Pressure_Plate()

bool ODMFace::Pressure_Plate ( ) const
inline

◆ SetTexture()

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

◆ ToggleIsAnimated()

void ODMFace::ToggleIsAnimated ( )
inline

◆ Visible()

bool ODMFace::Visible ( ) const
inline

Member Data Documentation

◆ animationId

int ODMFace::animationId = 0

◆ attributes

FaceAttributes ODMFace::attributes = 0

◆ boundingBox

BBoxf ODMFace::boundingBox

◆ cogNumber

int16_t ODMFace::cogNumber = 0

◆ eventId

int16_t ODMFace::eventId = 0

◆ facePlane

Planef ODMFace::facePlane

◆ index

int ODMFace::index = 0

◆ numVertices

uint8_t ODMFace::numVertices = 0

◆ polygonType

PolygonType ODMFace::polygonType = POLYGON_Invalid

◆ texlayer

int ODMFace::texlayer = -1

◆ texture

GraphicsImage* ODMFace::texture = nullptr

◆ textureDeltaU

int16_t ODMFace::textureDeltaU = 0

◆ textureDeltaV

int16_t ODMFace::textureDeltaV = 0

◆ textureUs

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

◆ textureVs

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

◆ texunit

int ODMFace::texunit = -1

◆ vertexIds

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

◆ zCalc

PlaneZCalcf ODMFace::zCalc

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