UBlendSpace::bTargetWeightInterpolationEaseInOut
#include "Animation/BlendSpace.h"
Access: public
Specifiers: UPROPERTYEditAnywhere
Description
If set, eases sample weight adjustments in and out rather than moving at a constant rate, using TargetWeightInterpolationSpeedPerSec to determine the amount of smoothing.
Caveats & Gotchas
- • Has no visible effect if TargetWeightInterpolationSpeedPerSec is 0, since there's no weight interpolation to ease.
- • Defaults to true, so newly authored blend spaces already ease weight transitions once a non-zero weight speed is set.
Signature
UPROPERTY(EditAnywhere, Category = SampleSmoothing, meta = (DisplayName = "Smoothing")) bool bTargetWeightInterpolationEaseInOut = true; Example
Disable easing for linear weight speed C++
MyBlendSpace->TargetWeightInterpolationSpeedPerSec = 1.0f;
MyBlendSpace->bTargetWeightInterpolationEaseInOut = false; // constant-rate weight change Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?