UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
TSpring1D< FloatType >::FSpringConfig Class Reference

#include <SlateSprings.h>

Public Member Functions

 FSpringConfig ()
 

Public Attributes

FloatType SpringConstant
 
FloatType SpringLength
 
FloatType DampConstant
 
FloatType SnappingEpsilon
 
bool bSkipAnimationOnHitches
 

Detailed Description

template<typename FloatType>
class TSpring1D< FloatType >::FSpringConfig

Spring configuration

Constructor & Destructor Documentation

◆ FSpringConfig()

template<typename FloatType >
TSpring1D< FloatType >::FSpringConfig::FSpringConfig ( )
inline

Constructor

Member Data Documentation

◆ bSkipAnimationOnHitches

template<typename FloatType >
bool TSpring1D< FloatType >::FSpringConfig::bSkipAnimationOnHitches

Whether to skip animation when a hitch occurs. If enabled, the spring's position will be set to the target position with large quantums, otherwise the spring will animate in slow motion.

◆ DampConstant

template<typename FloatType >
FloatType TSpring1D< FloatType >::FSpringConfig::DampConstant

Damp constant

◆ SnappingEpsilon

template<typename FloatType >
FloatType TSpring1D< FloatType >::FSpringConfig::SnappingEpsilon

Epsilon for snapping position and velocity

◆ SpringConstant

template<typename FloatType >
FloatType TSpring1D< FloatType >::FSpringConfig::SpringConstant

Spring constant (how springy, lower values = more springy!)

◆ SpringLength

template<typename FloatType >
FloatType TSpring1D< FloatType >::FSpringConfig::SpringLength

Length of the spring


The documentation for this class was generated from the following file: