panda3d.core.CollisionFloorMesh

from panda3d.core import 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.

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

store a triangle for processing

addVertex(vert: LPoint3) → None

store away a vertex to index against

static getClassType() → TypeHandle
Return type

TypeHandle

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

LPoint3i

getTriangles() → list
getVertex(index: int) → LPoint3
Return type

LPoint3

getVertices() → list
property triangles
Return type

Sequence[LPoint3i]

property vertices
Return type

Sequence[LPoint3]