Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/TSpring1D
Spring configuration
| Name | FSpringConfig |
| Type | class |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Animation/SlateSprings.h |
| Include Path | #include "Animation/SlateSprings.h" |
Syntax
class FSpringConfig
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSpringConfig() |
Constructor | Animation/SlateSprings.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSkipAnimationOnHitches | bool | Whether to skip animation when a hitch occurs. | Animation/SlateSprings.h | |
| DampConstant | FloatType | Damp constant | Animation/SlateSprings.h | |
| SnappingEpsilon | FloatType | Epsilon for snapping position and velocity | Animation/SlateSprings.h | |
| SpringConstant | FloatType | Spring constant (how springy, lower values = more springy!) | Animation/SlateSprings.h | |
| SpringLength | FloatType | Length of the spring | Animation/SlateSprings.h |