Panda3D

- Main Page
- Packages
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Static Public Member Functions

# CollisionFloorMesh Class Reference

This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays. More...

Inheritance diagram for CollisionFloorMesh:

List of all members.

## Public Member Functions
| CollisionFloorMesh ()
| This is only for the convenience of CollisionPolygon.
| addTriangle (unsigned int pointA, unsigned int pointB, unsigned int pointC)
| store a triangle for processing
| addVertex (Point3 const vert)
| store away a vertex to index against
unsigned int | getNumTriangles ()
unsigned int | getNumVertices ()
Point3D const | getTriangle (unsigned int index)
list | getTriangles ()
Point3 const | getVertex (unsigned int index)
list | getVertices ()
## Static Public Member Functions
static TypeHandle | getClassType ()

## Detailed Description

This object represents a solid made entirely of triangles, which will only be tested again z axis aligned rays.

## Constructor & Destructor Documentation

CollisionFloorMesh | ( |  | ) |

This is only for the convenience of CollisionPolygon.

Normally, you should not attempt to create an uninitialized CollisionPlane.

## Member Function Documentation

addTriangle | ( | unsigned int | pointA,
|  | unsigned int | pointB,
|  | unsigned int | pointC
| ) |  |

store a triangle for processing

addVertex | ( | Point3 const | vert | ) |

store away a vertex to index against

static TypeHandle getClassType | ( |  | ) | `[static]`

Reimplemented from CollisionSolid.

unsigned int getNumTriangles | ( |  | ) |

unsigned int getNumVertices | ( |  | ) |

Point3D const getTriangle | ( | unsigned int | index | ) |

list getTriangles | ( |  | ) |

Point3 const getVertex | ( | unsigned int | index | ) |

list getVertices | ( |  | ) |

All Classes Namespaces Functions Variables Enumerations Enumerator Properties