#include <trigger.h>
◆ TriggerComponent()
tram::TriggerComponent::TriggerComponent |
( |
| ) |
|
|
inline |
◆ ~TriggerComponent()
tram::TriggerComponent::~TriggerComponent |
( |
| ) |
|
◆ Collision()
◆ EventHandler()
void tram::TriggerComponent::EventHandler |
( |
Event & |
event | ) |
|
|
inlinevirtual |
◆ GetCollisionGroup()
uint32_t tram::TriggerComponent::GetCollisionGroup |
( |
| ) |
|
|
inline |
◆ GetCollisionMask()
uint32_t tram::TriggerComponent::GetCollisionMask |
( |
| ) |
|
|
inline |
◆ GetModel()
◆ GetStoredCollisions()
◆ Poll()
Checks for collisions with the trigger.
◆ ResetCollisions()
void tram::TriggerComponent::ResetCollisions |
( |
| ) |
|
◆ SetActivationCallback()
◆ SetCollisionGroup()
void tram::TriggerComponent::SetCollisionGroup |
( |
uint32_t |
flags | ) |
|
◆ SetCollisionMask()
void tram::TriggerComponent::SetCollisionMask |
( |
uint32_t |
flags | ) |
|
Sets a collision mask for the trigger.
This method works the same as in PhysicsComponent, see PhysicsComponent::SetCollsionMask() for more information.
◆ SetDectivationCallback()
◆ SetFilterCallback()
◆ SetLocation()
void tram::TriggerComponent::SetLocation |
( |
vec3 |
location | ) |
|
Sets the location of the component.
◆ SetModel() [1/2]
void tram::TriggerComponent::SetModel |
( |
name_t |
model | ) |
|
|
inline |
◆ SetModel() [2/2]
◆ SetRotation()
void tram::TriggerComponent::SetRotation |
( |
quat |
rotation | ) |
|
Sets the rotation of the component.
◆ SetShape()
Sets a collision shape for the trigger.
◆ SetStoreCollisions()
void tram::TriggerComponent::SetStoreCollisions |
( |
bool |
store_collisions | ) |
|
|
inline |
◆ Start()
void tram::TriggerComponent::Start |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/trigger.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/components/trigger.cpp