panda3d.core.CollisionFloorMesh

class CollisionFloorMesh

Bases: CollisionSolid

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

Inheritance diagram

Inheritance diagram of CollisionFloorMesh

__init__() → None

This is only for the convenience of CollisionPolygon. Normally, you should not attempt to create an uninitialized CollisionPlane.

addVertex(vert: LPoint3) → None

store away a vertex to index against

addTriangle(pointA: int, pointB: int, pointC: int) → None

store a triangle for processing

getNumVertices() → int
getVertex(index: int) → LPoint3
Return type

LPoint3

getNumTriangles() → int
getTriangle(index: int) → LPoint3i
Return type

LPoint3i

static getClassType() → TypeHandle
Return type

TypeHandle

getVertices() → list
getTriangles() → list
property vertices
Return type

Sequence[LPoint3]

property triangles
Return type

Sequence[LPoint3i]