18template<
typename NumericType >
167 const NumericType&
Get()
const
373template<
typename NumericType >
381template<
typename NumericType >
446 const float Ratio = FMath::Clamp<float>(DeltaTime /
Settings.
Duration, 0.f, 1.f);
457template<
typename NumericType >
526 if(PreviousValue.
IsSet())
567template<
typename NumericType >
641 if(PreviousValue.
IsSet())
OODEFFUNC typedef void(OODLE_CALLBACK t_fp_OodleCore_Plugin_Free)(void *ptr)
#define check(expr)
Definition AssertionMacros.h:314
EEasingInterpolatorType
Definition AttributeInterpolator.h:337
SLATE_API float EaseInterpolatorRatio(EEasingInterpolatorType InEasingType, float InRatio)
Definition AttributeInterpolator.cpp:6
EAttributeInterpolatorType
Definition AttributeInterpolator.h:9
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
return true
Definition ExternalRpcRegistry.cpp:601
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
#define SMALL_NUMBER
Definition UnrealMathUtility.h:66
Definition AnimatedAttribute.h:14
Definition AttributeInterpolator.h:459
virtual bool IsTypeOf(EAttributeInterpolatorType InType) const override
Definition AttributeInterpolator.h:490
virtual void Interpolate() const override
Definition AttributeInterpolator.h:534
float LastDeltaTime
Definition AttributeInterpolator.h:561
virtual bool Restart() const override
Definition AttributeInterpolator.h:518
virtual bool Start() const override
Definition AttributeInterpolator.h:512
virtual bool IdenticalTo(const TAttributeInterpolator< NumericType > *InOther) const override
Definition AttributeInterpolator.h:495
TArriveAttributeInterpolator(const FSettings &InSettings)
Definition AttributeInterpolator.h:480
FSettings Settings
Definition AttributeInterpolator.h:560
Definition AttributeInterpolator.h:20
bool IsEnabled() const
Definition AttributeInterpolator.h:98
TOptional< float > Delay
Definition AttributeInterpolator.h:312
void Reset() const
Definition AttributeInterpolator.h:82
double GetOverAllDeltaTime() const
Definition AttributeInterpolator.h:224
bool IsSet() const
Definition AttributeInterpolator.h:74
void SetValueAndStop(const NumericType &InValue) const
Definition AttributeInterpolator.h:152
static bool Equals(const NumericType &InA, const NumericType &InB, double InTolerance=0.001)
Definition AttributeInterpolator.h:49
TOptional< float > OverallDeltaTime
Definition AttributeInterpolator.h:313
FInterpolatorEvent & OnInterpolationStopped()
Definition AttributeInterpolator.h:260
const NumericType & Get() const
Definition AttributeInterpolator.h:167
DECLARE_MULTICAST_DELEGATE_OneParam(FInterpolatorEvent, TOptional< NumericType >)
TOptional< NumericType > DesiredValue
Definition AttributeInterpolator.h:316
void SetValue(const NumericType &InValue) const
Definition AttributeInterpolator.h:126
virtual bool PlayIfStopped() const
Definition AttributeInterpolator.h:282
TOptional< NumericType > LastValue
Definition AttributeInterpolator.h:315
FInterpolatorEvent InterpolationStopped
Definition AttributeInterpolator.h:319
virtual ~TAttributeInterpolator()
Definition AttributeInterpolator.h:38
bool IsPlaying() const
Definition AttributeInterpolator.h:269
void SetEnabled(bool InEnabled=true)
Definition AttributeInterpolator.h:106
FInterpolatorEvent & OnInterpolationStarted()
Definition AttributeInterpolator.h:255
bool bEnabled
Definition AttributeInterpolator.h:310
FInterpolatorEvent InterpolationStarted
Definition AttributeInterpolator.h:318
virtual bool Restart() const
Definition AttributeInterpolator.h:305
TAttributeInterpolator()
Definition AttributeInterpolator.h:29
void Tick(float InDeltaTime)
Definition AttributeInterpolator.h:188
virtual bool Start() const
Definition AttributeInterpolator.h:275
virtual void Interpolate() const =0
void SetDelayOneShot(float InDelay) const
Definition AttributeInterpolator.h:239
void SetTolerance(float InTolerance)
Definition AttributeInterpolator.h:247
virtual bool IdenticalTo(const TAttributeInterpolator *InOther) const =0
TOptional< NumericType > InterpolatedValue
Definition AttributeInterpolator.h:314
virtual bool Stop() const
Definition AttributeInterpolator.h:292
float Tolerance
Definition AttributeInterpolator.h:311
virtual bool IsTypeOf(EAttributeInterpolatorType InType) const =0
Definition AttributeInterpolator.h:383
virtual bool IdenticalTo(const TAttributeInterpolator< NumericType > *InOther) const override
Definition AttributeInterpolator.h:418
TEasingAttributeInterpolator(const FSettings &InSettings)
Definition AttributeInterpolator.h:404
FSettings Settings
Definition AttributeInterpolator.h:451
virtual void Interpolate() const override
Definition AttributeInterpolator.h:434
virtual bool IsTypeOf(EAttributeInterpolatorType InType) const override
Definition AttributeInterpolator.h:413
Definition AttributeInterpolator.h:569
virtual bool IsTypeOf(EAttributeInterpolatorType InType) const override
Definition AttributeInterpolator.h:602
virtual bool Start() const override
Definition AttributeInterpolator.h:625
virtual void Interpolate() const override
Definition AttributeInterpolator.h:653
TVerletAttributeInterpolator(const FSettings &InSettings)
Definition AttributeInterpolator.h:592
virtual bool Restart() const override
Definition AttributeInterpolator.h:632
float LastDeltaTime
Definition AttributeInterpolator.h:681
virtual bool IdenticalTo(const TAttributeInterpolator< NumericType > *InOther) const override
Definition AttributeInterpolator.h:607
TOptional< NumericType > Velocity
Definition AttributeInterpolator.h:682
FSettings Settings
Definition AttributeInterpolator.h:680
static UE_FORCEINLINE_HINT bool IsNearlyEqual(float A, float B, float ErrorTolerance=UE_SMALL_NUMBER)
Definition UnrealMathUtility.h:388
Definition AttributeInterpolator.h:467
int32 Iterations
Definition AttributeInterpolator.h:476
FSettings(int32 InIterations, float InStrength)
Definition AttributeInterpolator.h:470
float Strength
Definition AttributeInterpolator.h:477
TArriveAttributeInterpolator< NumericType > InterpolatorType
Definition AttributeInterpolator.h:468
Definition AttributeInterpolator.h:391
TEasingAttributeInterpolator< NumericType > InterpolatorType
Definition AttributeInterpolator.h:392
float Duration
Definition AttributeInterpolator.h:401
EEasingInterpolatorType EasingType
Definition AttributeInterpolator.h:400
FSettings(EEasingInterpolatorType InEasingType, float InDuration)
Definition AttributeInterpolator.h:394
Definition Optional.h:131
constexpr OptionalType & GetValue()
Definition Optional.h:443
constexpr bool IsSet() const
Definition Optional.h:69
void Reset()
Definition Optional.h:306
Definition AttributeInterpolator.h:577
float Strength
Definition AttributeInterpolator.h:588
TVerletAttributeInterpolator< NumericType > InterpolatorType
Definition AttributeInterpolator.h:578
float Damping
Definition AttributeInterpolator.h:589
FSettings(float InBlend, float InStrength, float InDamping)
Definition AttributeInterpolator.h:580
float Blend
Definition AttributeInterpolator.h:587