Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Animation/BlendSpace.h |
Include |
#include "Animation/BlendSpace.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Animation/BlendSpace.cpp |
void GetGridSamplesFromBlendInput
(
const FVector & BlendInput,
FGridBlendSample & LeftBottom,
FGridBlendSample & RightBottom,
FGridBlendSample & LeftTop,
FGridBlendSample & RightTop
) const
Get Grid Samples from BlendInput, From Input, it will return the 4 points of the grid that this input belongs to.
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
Parameter |
Description |
---|---|
BlendInput |
BlendInput X, Y, Z corresponds to BlendParameters[0], [1], [2] |