Navigation
API > API/Plugins > API/Plugins/RigVM
Damps a float value using exponential decay damping
| Name | FRigVMFunction_DampFloat |
| Type | struct |
| Header File | /Engine/Plugins/Runtime/RigVM/Source/RigVM/Public/RigVMFunctions/Math/RigVMFunction_SpringMath.h |
| Include Path | #include "RigVMFunctions/Math/RigVMFunction_SpringMath.h" |
Syntax
USTRUCT (Meta=(DisplayName="Damp (Float)", Category="Math|Damp", TemplateName="Damp"))
struct FRigVMFunction_DampFloat : public FRigVMFunction_MathBase
Inheritance Hierarchy
- FRigVMStruct → FRigVMFunction_MathBase → FRigVMFunction_DampFloat
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Result | float | Resulting damped value. | RigVMFunctions/Math/RigVMFunction_SpringMath.h |
|
| SmoothingTime | float | The time to apply smoothing for. | RigVMFunctions/Math/RigVMFunction_SpringMath.h |
|
| Target | float | The target value to damp towards. | RigVMFunctions/Math/RigVMFunction_SpringMath.h |
|
| Value | float | The value to damp. | RigVMFunctions/Math/RigVMFunction_SpringMath.h |
|