UBlendSpace::GetGridSamplesFromBlendInput

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

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Animation/BlendSpace.h"

Source

/Engine/Source/Runtime/Engine/Private/Animation/BlendSpace.cpp

Syntax

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

Remarks

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

Returns

LeftTop, RightTop, LeftBottom, RightBottom 4 corner of the grid this BlendInput belongs to It's possible they return INDEX_NONE, but that case the weight also should be 0.f

Parameters

Parameter

Description

BlendInput

BlendInput X, Y, Z corresponds to BlendParameters[0], [1], [2]

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