TSpring1D::SetPosition

Sets the current position (and target position) for the spring

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Animation/SlateSprings.h

Include

#include "Animation/SlateSprings.h"

Syntax

void SetPosition
(
    FloatType InPosition
)

Remarks

Sets the current position (and target position) for the spring

Parameters

Parameter

Description

InTarget

New position

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss