Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
USmoothedFloat Class Reference

Public Member Functions

float GetValue ()
 
float GetTarget ()
 
float GetLerpSpeed ()
 
void SetValue (const float NewValue)
 
void SetTarget (const float NewTarget)
 
void AddToTarget (const float Delta)
 
void SetLerpSpeed (const float NewSpeed)
 
void Update (const float DeltaSeconds)
 

Static Public Member Functions

static USmoothedFloatCreateSmoothedFloat (const float Value=0.0f, const float LerpSpeed=5.0f)
 

Private Attributes

float Value = 0.0f
 
float Target = 0.0f
 
float LerpSpeed = 5.0f
 

Member Function Documentation

◆ AddToTarget()

void USmoothedFloat::AddToTarget ( const float  Delta)

◆ CreateSmoothedFloat()

USmoothedFloat * USmoothedFloat::CreateSmoothedFloat ( const float  Value = 0.0f,
const float  LerpSpeed = 5.0f 
)
static

◆ GetLerpSpeed()

float USmoothedFloat::GetLerpSpeed ( )

◆ GetTarget()

float USmoothedFloat::GetTarget ( )

◆ GetValue()

float USmoothedFloat::GetValue ( )

◆ SetLerpSpeed()

void USmoothedFloat::SetLerpSpeed ( const float  NewSpeed)

◆ SetTarget()

void USmoothedFloat::SetTarget ( const float  NewTarget)

◆ SetValue()

void USmoothedFloat::SetValue ( const float  NewValue)

◆ Update()

void USmoothedFloat::Update ( const float  DeltaSeconds)

Member Data Documentation

◆ LerpSpeed

float USmoothedFloat::LerpSpeed = 5.0f
private

◆ Target

float USmoothedFloat::Target = 0.0f
private

◆ Value

float USmoothedFloat::Value = 0.0f
private