Drag[en]gine Game Engine  1.21
deBasePhysicsComponent Class Reference

Physics module component peer. More...

#include <deBasePhysicsComponent.h>

Public Member Functions

Constructors and Destructors
 deBasePhysicsComponent ()
 Create peer. More...
 
virtual ~deBasePhysicsComponent ()
 Clean up peer. More...
 
Notifications
virtual void PositionChanged ()
 Position changed. More...
 
virtual void ScalingChanged ()
 Scaling changed. More...
 
virtual void OrientationChanged ()
 Orientation changed. More...
 
virtual void ModelChanged ()
 Model object changed. More...
 
virtual void RigChanged ()
 Rig object changed. More...
 
virtual void VisibilityChanged ()
 Visitility changed. More...
 
virtual void ExtendsChanged ()
 Extends changed. More...
 
virtual void MeshDirty ()
 Mesh vertices have been invalidated. More...
 
virtual void ParametersChanged ()
 Parameter or hint changed. More...
 
virtual void DecalAdded (deDecal *decal)
 Decal has been added. More...
 
virtual void DecalRemoved (deDecal *decal)
 Decal has been removed. More...
 
virtual void AllDecalsRemoved ()
 All decals have been removed. More...
 
Collision Detection
virtual void FindDecalsAt (const decVector &point, deDecalList &list)
 Collect decals in contact with point. More...
 
virtual void FindDecalsTouching (decShape *shape, deDecalList &list)
 Collect decals in contact with shape. More...
 

Detailed Description

Physics module component peer.

Constructor & Destructor Documentation

◆ deBasePhysicsComponent()

deBasePhysicsComponent::deBasePhysicsComponent ( )

Create peer.

◆ ~deBasePhysicsComponent()

virtual deBasePhysicsComponent::~deBasePhysicsComponent ( )
virtual

Clean up peer.

Member Function Documentation

◆ AllDecalsRemoved()

virtual void deBasePhysicsComponent::AllDecalsRemoved ( )
virtual

All decals have been removed.

◆ DecalAdded()

virtual void deBasePhysicsComponent::DecalAdded ( deDecal decal)
virtual

Decal has been added.

◆ DecalRemoved()

virtual void deBasePhysicsComponent::DecalRemoved ( deDecal decal)
virtual

Decal has been removed.

◆ ExtendsChanged()

virtual void deBasePhysicsComponent::ExtendsChanged ( )
virtual

Extends changed.

◆ FindDecalsAt()

virtual void deBasePhysicsComponent::FindDecalsAt ( const decVector point,
deDecalList list 
)
virtual

Collect decals in contact with point.

The point is best taken from an earlier collision test and is in world coordinates. The point is considered to be in the same sector as the component.

Parameters
[in]pointPoint on the surface to test.
[out]listList of decals to fill in. Not emptied before filling.

◆ FindDecalsTouching()

virtual void deBasePhysicsComponent::FindDecalsTouching ( decShape shape,
deDecalList list 
)
virtual

Collect decals in contact with shape.

The shape is considered to be in the same sector as the component.

Parameters
[in]shapeShape to test.
[out]listList of decals to fill in. Not emptied before filling.

◆ MeshDirty()

virtual void deBasePhysicsComponent::MeshDirty ( )
virtual

Mesh vertices have been invalidated.

Called if Model changed or bones have been invalidated.

◆ ModelChanged()

virtual void deBasePhysicsComponent::ModelChanged ( )
virtual

Model object changed.

◆ OrientationChanged()

virtual void deBasePhysicsComponent::OrientationChanged ( )
virtual

Orientation changed.

◆ ParametersChanged()

virtual void deBasePhysicsComponent::ParametersChanged ( )
virtual

Parameter or hint changed.

◆ PositionChanged()

virtual void deBasePhysicsComponent::PositionChanged ( )
virtual

Position changed.

◆ RigChanged()

virtual void deBasePhysicsComponent::RigChanged ( )
virtual

Rig object changed.

◆ ScalingChanged()

virtual void deBasePhysicsComponent::ScalingChanged ( )
virtual

Scaling changed.

◆ VisibilityChanged()

virtual void deBasePhysicsComponent::VisibilityChanged ( )
virtual

Visitility changed.


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