UBlendSpace

Contains a grid of data points with weights from sample points in the space

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Animation/BlendSpace.h

Include

#include "Animation/BlendSpace.h"

Syntax

class UBlendSpace : public UBlendSpaceBase

Remarks

Contains a grid of data points with weights from sample points in the space

Variables

Name Description

Protected variable

TEnumAsByte< EB...

 

AxisToScaleAnimation

If you have input interpolation, which axis to drive animation speed (scale) - i.e. for locomotion animation, speed axis will drive animation speed (thus scale)

Constructors

Name Description

Public function

UBlendSpace

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

const FEdito...

 

GetEditorElement

(
    int32 XIndex,
    int32 YIndex
)

Get the Editor Element from Index

Protected function Const

void

 

GetGridSamplesFromBlendInput

(
    const FVector& BlendInput,
    FGridBlendSample& LeftBottom,
    FGridBlendSample& RightBottom,
    FGridBlendSample& LeftTop,
    FGridBlendSample& RightTop
)

Get Grid Samples from BlendInput, From Input, it will return the 4 points of the grid that this input belongs to.

Overridden from UBlendSpaceBase

Name Description

Protected function Virtual Const

EBlendSpaceA...

 

GetAxisToScale()

Let derived blend space decided how to handle scaling

Protected function Virtual Const

void

 

GetRawSamplesFromBlendInput

(
    const FVector& BlendInput,
    TArray< FGridBlendSample, TInlineAl...
)

Get Grid Samples from BlendInput, From Input, it will populate OutGridSamples with the closest grid points.

Protected function Virtual Const

bool

 

IsSameSamplePoint

(
    const FVector& SamplePointA,
    const FVector& SamplePointB
)

Checks if the given samples points overlap

Public function Virtual Const

bool

 

IsValidAdditiveType

(
    EAdditiveAnimationType AdditiveType
)

Returns whether or not the given additive animation type is compatible with the blendspace type

Protected function Virtual

void

 

RemapSamplesToNewAxisRange()

Protected function Virtual

void

 

SnapSamplesToClosestGridPoint()

If around border, snap to the border to avoid empty hole of data that is not valid

Overridden from UAnimationAsset

Name Description

Public function Virtual Const

bool

 

IsValidAdditive()

Return true if this is valid additive animation false otherwise

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss