Navigation
API > API/Plugins > API/Plugins/MassMovement > API/Plugins/MassMovement/Example
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMassProcessor
- UMassObserverProcessor
- UMassRandomVelocityInitializer
References
| Module | MassMovement |
| Header | /Engine/Plugins/Runtime/MassGameplay/Source/MassMovement/Public/Example/MassVelocityRandomizerTrait.h |
| Include | #include "Example/MassVelocityRandomizerTrait.h" |
Syntax
UCLASS&40;&41;
class UMassRandomVelocityInitializer : public UMassObserverProcessor
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSetZComponent | ||
| FMassEntityQuery | EntityQuery | ||
| float | MaxSpeed | The default max is set to 0 to enforce explicit configuration via SetParameters call. | |
| float | MinSpeed |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | |||
| void | Execute
(
FMassEntityManager& EntityManager, |
||
| void | SetParameters
(
const float InMinSpeed, |