UMassVelocityRandomizerTrait

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

MassMovement

Header

/Engine/Plugins/Runtime/MassGameplay/Source/MassMovement/Public/MassVelocityRandomizerTrait.h

Include

#include "MassVelocityRandomizerTrait.h"

Syntax

UCLASS(Meta=(DisplayName="Velocity Randomizer"))
class UMassVelocityRandomizerTrait : public UMassEntityTraitBase

Variables

Name Description

Protected variable UProperty Category, EditAnywhere

bool

 

bSetZComponent

Protected variable UProperty Category, EditAnywhere, Meta

float

 

MaxSpeed

The speed is expressed in UnrealUnits per second, which usually translates to 0.01m/s

Protected variable UProperty Category, EditAnywhere, Meta

float

 

MinSpeed

The speed is expressed in UnrealUnits per second, which usually translates to 0.01m/s

Overridden from UMassEntityTraitBase

Name Description

Protected function Virtual Const

void

 

BuildTemplate

(
    FMassEntityTemplateBuildContext& B...,
    UWorld& World
)

Appends items into the entity template required for the trait.