|
| __init__ (const CollisionPlane copy) |
|
| __init__ (const LPlane plane) |
|
float | distToPlane (const LPoint3 point) |
|
| flip () |
| Convenience method to flip the plane in-place.
|
|
LVector3 | getNormal () |
|
const LPlane | getPlane () |
|
| setPlane (const LPlane plane) |
|
Public Member Functions inherited from CollisionSolid |
| clearEffectiveNormal () |
| Removes the normal previously set by set_effective_normal().
|
|
const BoundingVolume | getBounds () |
| Returns the solid's bounding volume.
|
|
LPoint3 | getCollisionOrigin () |
|
const LVector3 | getEffectiveNormal () |
| Returns the normal that was set by set_effective_normal().
|
|
bool | getRespectEffectiveNormal () |
| See set_respect_effective_normal().
|
|
bool | hasEffectiveNormal () |
| Returns true if a special normal was set by set_effective_normal(), false otherwise.
|
|
bool | isTangible () |
| Returns whether the solid is considered 'tangible' or not.
|
|
| output (Ostream out) |
|
| setBounds (const BoundingVolume bounding_volume) |
| Returns the solid's bounding volume.
|
|
| setEffectiveNormal (const LVector3 effective_normal) |
| Records a false normal for this CollisionSolid that will be reported by the collision system with all collisions into it, instead of its actual normal.
|
|
| setRespectEffectiveNormal (bool respect_effective_normal) |
| This is only meaningful for CollisionSolids that will be added to a traverser as colliders.
|
|
| setTangible (bool tangible) |
| Sets the current state of the 'tangible' flag.
|
|
| write (Ostream out, int indent_level) |
|
Public Member Functions inherited from CopyOnWriteObject |
| cacheRef () |
|
bool | cacheUnref () |
|
Public Member Functions inherited from CachedTypedWritableReferenceCount |
| cacheRef () |
| Explicitly increments the cache reference count and the normal reference count simultaneously.
|
|
bool | cacheUnref () |
| Explicitly decrements the cache reference count and the normal reference count simultaneously.
|
|
int | getCacheRefCount () |
| Returns the current reference count.
|
|
bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
Public Member Functions inherited from TypedWritable |
object | __reduce__ () |
|
object | __reduce_persist__ (object pickler) |
|
VectorUchar | encodeToBamStream () |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and returns that data as a bytes object.
|
|
bool | encodeToBamStream (VectorUchar data, BamWriter writer) |
| Converts the TypedWritable object into a single stream of data using a BamWriter, and stores that data in the indicated string.
|
|
| fillin (DatagramIterator scan, BamReader manager) |
| This internal function is intended to be called by each class's make_from_bam() method to read in all of the relevant data from the BamFile for the new object.
|
|
UpdateSeq | getBamModified () |
| Returns the current bam_modified counter.
|
|
| markBamModified () |
| Increments the bam_modified counter, so that this object will be invalidated and retransmitted on any open bam streams.
|
|
Public Member Functions inherited from TypedObject |
TypeHandle | getType () |
|
int | getTypeIndex () |
| Returns the internal index number associated with this object's TypeHandle, a unique number for each different type.
|
|
bool | isExactType (TypeHandle handle) |
| Returns true if the current object is the indicated type exactly.
|
|
bool | isOfType (TypeHandle handle) |
| Returns true if the current object is or derives from the indicated type.
|
|
Public Member Functions inherited from ReferenceCount |
int | getRefCount () |
| Returns the current reference count.
|
|
| ref () |
| Explicitly increments the reference count.
|
|
bool | testRefCountIntegrity () |
| Does some easy checks to make sure that the reference count isn't completely bogus.
|
|
bool | testRefCountNonzero () |
| Does some easy checks to make sure that the reference count isn't zero, or completely bogus.
|
|
bool | unref () |
| Explicitly decrements the reference count.
|
|