UBlendSpace::TargetWeightInterpolationSpeedPerSec
#include "Animation/BlendSpace.h"
Access: public
Specifiers: UPROPERTYEditAnywhere
Description
Speed at which individual sample weights are allowed to change per second, letting the blend space jump directly between extremes instead of smoothly passing through intermediate positions.
Caveats & Gotchas
- • A value of 0 (the default) disables this smoothing entirely — samples snap to their target weight immediately.
- • This smooths per-sample weight, not the blend input position itself; it's a separate concept from the InterpolationParam axis smoothing used by FilterInput.
Signature
UPROPERTY(EditAnywhere, Category = SampleSmoothing, meta = (DisplayName = "Weight Speed", ClampMin = "0")) float TargetWeightInterpolationSpeedPerSec = 0.0f; Example
Enable weight speed limiting C++
// Typically set in the editor, but can be adjusted at runtime on a per-instance blend space asset:
MyBlendSpace->TargetWeightInterpolationSpeedPerSec = 2.0f; // half a second to fully switch samples Tags
Version History
Introduced in: 4.0
| Version | Status | Notes |
|---|---|---|
| 5.6 | stable | — |
Feedback
Was this helpful?