RealDocs

UBlendSpace

class Engine Blueprint Since 4.0
#include "Animation/BlendSpace.h"

Description

An animation asset that blends between multiple animation sequences based on one or two float parameters (e.g. Speed and Direction for locomotion).

Caveats & Gotchas

  • BlendSpaces are evaluated inside the Anim Blueprint graph, not called directly in C++. Reference them as UPROPERTY assets and assign them to BlendSpace graph nodes.
  • For 1D blending (single axis), use UBlendSpace1D. UBlendSpace supports up to 2 axes.
  • Sample points must be distributed across the parameter range — avoid clustering samples or the interpolation will be inaccurate.

Example

Reference a BlendSpace in C++ C++
UPROPERTY(EditDefaultsOnly, Category="Animation")
UBlendSpace* LocomotionBlendSpace;

// Assign to an anim graph node in the AnimBP, or use
// USkeletalMeshComponent::SetBlendSpaceInput() variants.

Functions (22)

Utility
1
Access Type Name
public function UBlendSpace::GetResourceSizeEx
Filtering
3
Access Type Name
public function UBlendSpace::FilterInput
public function UBlendSpace::InitializeFilter
public function UBlendSpace::UpdateFilterParams
Interpolation
2
Access Type Name
public function UBlendSpace::GetPerBoneInterpolationData
public function UBlendSpace::GetPerBoneInterpolationIndex
Playback
3
Access Type Name
public function UBlendSpace::GetAnimationPose
public function UBlendSpace::GetPlayLength
public function UBlendSpace::TickAssetPlayer
Samples
8
Access Type Name
public function UBlendSpace::ForEachImmutableSample
public function UBlendSpace::GetAnimationLengthFromSampleData
public function UBlendSpace::GetBlendSample
public function UBlendSpace::GetBlendSamples
public function UBlendSpace::GetClampedAndWrappedBlendInput
public function UBlendSpace::GetSamplesFromBlendInput
public function UBlendSpace::ResetBlendSamples
public function UBlendSpace::UpdateBlendSamples
Sampling
5
Access Type Name
public function UBlendSpace::GetBlendParameter
public function UBlendSpace::IsValidAdditive
public function UBlendSpace::IsValidAdditiveType
public function UBlendSpace::ComputeAxisScaleFactor
public function UBlendSpace::GetUniqueMarkerNames

Properties

Access Type Name
public property UBlendSpace::AnimLength
public property UBlendSpace::NotifyTriggerMode
public property UBlendSpace::PreferredTriangulationDirection
public property UBlendSpace::TargetWeightInterpolationSpeedPerSec
public property UBlendSpace::bAllowMarkerBasedSync
public property UBlendSpace::bAllowMeshSpaceBlending
public property UBlendSpace::bContainsRotationOffsetMeshSpaceSamples
public property UBlendSpace::bInterpolateUsingGrid
public property UBlendSpace::bLoop
public property UBlendSpace::bShouldMatchSyncPhases
public property UBlendSpace::bTargetWeightInterpolationEaseInOut

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.