Cafu Engine
MapFaceT Class Reference

Public Member Functions

 MapFaceT (EditorMaterialI *Material=NULL)
 
 MapFaceT (EditorMaterialI *Material, const Plane3fT &Plane, const Vector3fT *PlanePoints, bool FaceAligned)
 
void Save_cmap (std::ostream &OutFile) const
 
void Render3DBasic (MatSys::RenderMaterialT *RenderMat, const wxColour &MeshColor, const int MeshAlpha) const
 
void Render3D (Renderer3DT &Renderer, const MapBrushT *ParentBrush) const
 
void SetMaterial (EditorMaterialI *Material)
 
EditorMaterialIGetMaterial () const
 
void SetSurfaceInfo (const SurfaceInfoT &SI)
 
const SurfaceInfoTGetSurfaceInfo () const
 
const Plane3T< float > & GetPlane () const
 
const ArrayT< Vector3fT > & GetPlanePoints () const
 
const ArrayT< Vector3fT > & GetVertices () const
 
bool IsUVSpaceFaceAligned () const
 Determines whether the uv-space of this face is face-aligned. The uv-space of this face is face-aligned when both UAxis and VAxis are orthogonal to m_Plane.Normal. More...
 
bool IsUVSpaceWorldAligned () const
 Determines whether the uv-space of this face is world-aligned. The uv-space of this face is world-aligned when both UAxis and VAxis are in the same principal plane. More...
 

Static Public Member Functions

static MapFaceT Create_cmap (TextParserT &TP, EditorMatManT &MatMan)
 
static MapFaceT Create_D3_map (TextParserT &TP, const Vector3fT &Origin, EditorMatManT &MatMan)
 
static MapFaceT Create_HL1_map (TextParserT &TP, EditorMatManT &MatMan)
 
static MapFaceT Create_HL2_vmf (TextParserT &TP, EditorMatManT &MatMan)
 

Friends

class MapBrushT
 
class EditSurfacePropsDialogT
 

Member Function Documentation

bool MapFaceT::IsUVSpaceFaceAligned ( ) const

Determines whether the uv-space of this face is face-aligned. The uv-space of this face is face-aligned when both UAxis and VAxis are orthogonal to m_Plane.Normal.

bool MapFaceT::IsUVSpaceWorldAligned ( ) const

Determines whether the uv-space of this face is world-aligned. The uv-space of this face is world-aligned when both UAxis and VAxis are in the same principal plane.


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