Variant of the trigger component that holds an internal integer value.
More...
#include <FtsIntegerTriggerComponent.h>
Variant of the trigger component that holds an internal integer value.
◆ BindOnTriggerSignalEmitted()
| void UFtsIntegerTriggerComponent::BindOnTriggerSignalEmitted |
( |
const FFtsTriggerSignalEmittedDelegate & | OnSignalEmittedEvent | ) |
|
|
overridevirtual |
◆ GetValue()
| int64 UFtsIntegerTriggerComponent::GetValue |
( |
| ) |
const |
Get current numeric value of the trigger
- Returns
- Value held in the trigger
◆ SetValue()
| void UFtsIntegerTriggerComponent::SetValue |
( |
int64 | NewValue, |
|
|
UObject * | Instigator = nullptr, |
|
|
bool | bAlwaysBroadcast = false ) |
Sets a new internal value and emits a signal
- Parameters
-
| NewValue | New value to set |
| Instigator | Optional object responsible for the change |
| bAlwaysBroadcast | True to always emit a signal, false to only emit a signal when new value is different from current |
◆ Value
| int64 UFtsIntegerTriggerComponent::Value = 0 |
|
protected |
Held value of the trigger component
The documentation for this class was generated from the following files: