CS::Collisions::iCollider Struct Reference
A base interface for colliders. More...
#include <ivaria/collisions.h>
Inheritance diagram for CS::Collisions::iCollider:

Public Member Functions | |
| virtual ColliderType | GetGeometryType () const =0 |
| Get the geometry type of this collider. | |
| virtual const csVector3 & | GetLocalScale () const =0 |
| Get the scale on X/Y/Z axis. | |
| virtual float | GetMargin () const =0 |
| Get the margin of collision shape. | |
| virtual void | SetLocalScale (const csVector3 &scale)=0 |
| Set the scale of the collider shape on X/Y/Z axis. | |
| virtual void | SetMargin (float margin)=0 |
| Set the margin of collision shape. | |
Detailed Description
A base interface for colliders.
Other colliders will be derived from this one.
Definition at line 189 of file collisions.h.
Member Function Documentation
| virtual ColliderType CS::Collisions::iCollider::GetGeometryType | ( | ) | const [pure virtual] |
Get the geometry type of this collider.
| virtual const csVector3& CS::Collisions::iCollider::GetLocalScale | ( | ) | const [pure virtual] |
Get the scale on X/Y/Z axis.
| virtual float CS::Collisions::iCollider::GetMargin | ( | ) | const [pure virtual] |
Get the margin of collision shape.
| virtual void CS::Collisions::iCollider::SetLocalScale | ( | const csVector3 & | scale | ) | [pure virtual] |
Set the scale of the collider shape on X/Y/Z axis.
| virtual void CS::Collisions::iCollider::SetMargin | ( | float | margin | ) | [pure virtual] |
Set the margin of collision shape.
The documentation for this struct was generated from the following file:
- ivaria/collisions.h
Generated for Crystal Space 2.1 by doxygen 1.6.1
