Panda3D
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
XFileFace Class Reference

This represents a single face of an XFileMesh. More...

#include "xFileFace.h"

Classes

class  Vertex
 

Public Types

typedef pvector< VertexVertices
 

Public Member Functions

void set_from_egg (XFileMesh *mesh, EggPolygon *egg_poly)
 Sets the structure up from the indicated egg data.
 

Public Attributes

int _material_index
 
Vertices _vertices
 

Detailed Description

This represents a single face of an XFileMesh.

Definition at line 26 of file xFileFace.h.

Member Typedef Documentation

◆ Vertices

Definition at line 36 of file xFileFace.h.

Constructor & Destructor Documentation

◆ XFileFace()

XFileFace::XFileFace ( )

Definition at line 21 of file xFileFace.cxx.

Member Function Documentation

◆ set_from_egg()

void XFileFace::set_from_egg ( XFileMesh * mesh,
EggPolygon * egg_poly )

Sets the structure up from the indicated egg data.

Definition at line 29 of file xFileFace.cxx.

References XFileMesh::add_material(), XFileMesh::add_normal(), and XFileMesh::add_vertex().

Referenced by XFileMesh::add_polygon().

Member Data Documentation

◆ _material_index

int XFileFace::_material_index

Definition at line 39 of file xFileFace.h.

◆ _vertices

Vertices XFileFace::_vertices

Definition at line 37 of file xFileFace.h.


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