RealDocs

UBlendSpace::GetBlendParameter

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

Description

Returns the axis configuration — name, range, and grid divisions — for blend parameter Index.

Caveats & Gotchas

  • Index isn't bounds-checked in the header — passing an out-of-range index reads outside the fixed 3-element internal array.
  • For 1D or 2D blend spaces, unused axes still return a valid (default) FBlendParameter rather than an error.

Signature

const FBlendParameter& GetBlendParameter(const int32 Index) const

Parameters

Name Type Description Default
Index const int32 Axis index to retrieve (0, 1, or 2).

Return Type

const FBlendParameter&

Example

Reading an axis range C++
const FBlendParameter& AxisX = BlendSpaceAsset->GetBlendParameter(0);
UE_LOG(LogTemp, Log, TEXT("%s: %.1f to %.1f"), *AxisX.DisplayName, AxisX.Min, AxisX.Max);

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.