|
GUInity
|
#include <MeshCollider.hpp>
Public Member Functions | |
| MeshCollider () | |
| virtual | ~MeshCollider () |
| virtual void | init () |
| virtual void | tick (float deltaSeconds) override |
| virtual shared_ptr< Component > | clone () override |
| virtual shared_ptr< ComponentDescription > | getComponentDescription () override |
| virtual void | deserialize (shared_ptr< ComponentDescription > desc) override |
Public Member Functions inherited from Collider | |
| Collider () | |
| virtual | ~Collider () |
| void | setTrigger (bool isTrigger) |
| bool | getIsTrigger () |
| void | setQueryOnly (bool isQueryOnly) |
| bool | getQueryOnly () |
| virtual void | destroy () override |
| virtual void | awake () override |
| virtual void | setActive (bool isActive) override |
| void | setPhysicsMaterial (const shared_ptr< PhysicsMaterial > physMaterial) |
| shared_ptr< PhysicsMaterial > | getPhysicsMaterial () |
Public Member Functions inherited from Component | |
| Component () | |
| virtual | ~Component () |
| shared_ptr< Actor > | getActor () |
| void | setActor (weak_ptr< Actor > actor) |
Additional Inherited Members | |
Protected Member Functions inherited from Component | |
| void | setCopyMode (bool initWithData) |
Protected Attributes inherited from Collider | |
| PxVec3 | center |
| PxShape * | shape |
| shared_ptr< PhysicsMaterial > | physicsMaterial |
| bool | isTrigger |
| bool | isQueryOnly |
Protected Attributes inherited from Component | |
| bool | initWithData |
| bool | isActive |
BoxCollider uses a Mesh as the volume collider. Can either be real physics simulated or trigger only.
| MeshCollider::MeshCollider | ( | ) |
Default Constructor
|
virtual |
Default Destructor. Virtual because inherits from Collider
|
overridevirtual |
Clones current component (Prototype Design Pattern)
Implements Collider.
|
virtual |
|
overridevirtual |
1.8.9.1