#include <Indoor.h>
◆ _get_normals()
void BLVFace::_get_normals |
( |
Vec3f * |
outU, |
|
|
Vec3f * |
outV |
|
) |
| |
◆ Clickable()
bool BLVFace::Clickable |
( |
| ) |
const |
|
inline |
◆ Contains()
bool BLVFace::Contains |
( |
const Vec3f & |
pos, |
|
|
int |
model_idx, |
|
|
int |
slack = 0 , |
|
|
FaceAttributes |
override_plane = 0 |
|
) |
| const |
- Parameters
-
pos | Point to check. |
model_idx | Model that this face belongs to, or MODEL_INDOOR for faces in indoor locations. |
slack | If a point is at most slack units away from the edge, it'll still be considered to be lying on the edge. |
override_plane | Plane override. By default the check is performed in the face's primary plane that is set in attributes, but this behavior can be overridden by e.g. passing FACE_XY_PLANE . |
- Returns
- Whether the point lies inside this polygon, if projected on the face's primary plane.
◆ Ethereal()
bool BLVFace::Ethereal |
( |
| ) |
const |
|
inline |
◆ Flatten()
void BLVFace::Flatten |
( |
FlatFace * |
points, |
|
|
int |
model_idx, |
|
|
FaceAttributes |
override_plane = 0 |
|
) |
| const |
- Parameters
-
[out] | points | Coordinate storage. The storage is populated by the coordinates of this face's vertices projected onto this face's primary plane. |
| model_idx | Model that this face belongs to, or MODEL_INDOOR for faces in indoor locations. |
| override_plane | Plane override. |
- See also
- BLVFace::Contains
◆ FromODM()
void BLVFace::FromODM |
( |
ODMFace * |
face | ) |
|
◆ GetTexture()
◆ Indoor_sky()
bool BLVFace::Indoor_sky |
( |
| ) |
const |
|
inline |
◆ Invisible()
bool BLVFace::Invisible |
( |
| ) |
const |
|
inline |
◆ isFluid()
bool BLVFace::isFluid |
( |
| ) |
const |
|
inline |
◆ isPortal()
bool BLVFace::isPortal |
( |
| ) |
const |
|
inline |
◆ IsTextureFrameTable()
bool BLVFace::IsTextureFrameTable |
( |
| ) |
const |
|
inline |
◆ Pressure_Plate()
bool BLVFace::Pressure_Plate |
( |
| ) |
const |
|
inline |
◆ SetTexture()
void BLVFace::SetTexture |
( |
std::string_view |
filename | ) |
|
◆ ToggleIsTextureFrameTable()
void BLVFace::ToggleIsTextureFrameTable |
( |
| ) |
|
|
inline |
◆ Visible()
bool BLVFace::Visible |
( |
| ) |
const |
|
inline |
◆ facePlane
◆ pBounding
◆ pVertexIDs
int16_t* BLVFace::pVertexIDs = nullptr |
◆ pVertexUIDs
int16_t* BLVFace::pVertexUIDs = nullptr |
◆ pVertexVIDs
int16_t* BLVFace::pVertexVIDs = nullptr |
◆ resource
void* BLVFace::resource = nullptr |
◆ texlayer
int BLVFace::texlayer = -1 |
◆ texunit
int BLVFace::texunit = -1 |
◆ uAttributes
FaceAttributes BLVFace::uAttributes |
◆ uBackSectorID
int BLVFace::uBackSectorID = 0 |
◆ uFaceExtraID
uint16_t BLVFace::uFaceExtraID = 0 |
◆ uNumVertices
uint8_t BLVFace::uNumVertices = 0 |
◆ uPolygonType
◆ uSectorID
int BLVFace::uSectorID = 0 |
◆ zCalc
The documentation for this struct was generated from the following files: