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