RealDocs

UBlendSpace::UpdateFilterParams

function Engine Since 4.0
#include "Animation/BlendSpace.h"
Access: public Specifiers: const

Description

Refreshes an existing filter's smoothing parameters from the current InterpolationParam settings without a full re-initialization.

Caveats & Gotchas

  • Calling this on a filter that was never passed to InitializeFilter is undefined behaviour — parameter update assumes the filter's internal buffers already exist.
  • Cheaper than re-calling InitializeFilter, so prefer this when only smoothing times/damping values changed (e.g. after a runtime data-driven tweak).

Signature

ENGINE_API void UpdateFilterParams(FBlendFilter* Filter) const;

Parameters

Name Type Description Default
Filter FBlendFilter* Previously initialized filter whose parameters should be refreshed.

Return Type

void

Example

Refresh filter after parameter change C++
// After changing InterpolationParam on the asset at runtime
MyBlendSpace->UpdateFilterParams(&Filter);

Version History

Introduced in: 4.0

Version Status Notes
5.6 stable

Feedback

Was this helpful?

Suggest an edit

Select a field above to begin editing.