Navigation
API > API/Runtime > API/Runtime/AIModule
Description
Interpolates bilinear patch A,B,C,D. U interpolates from A->B, and C->D, and V interpolates from AB->CD.
| Name | UE::AI::Bilinear |
| Type | function |
| Header File | /Engine/Source/Runtime/AIModule/Public/GeomUtils.h |
| Include Path | #include "GeomUtils.h" |
namespace UE
{
namespace AI
{
FVector UE::AI::Bilinear
(
const FVector2D UV,
const FVector VertexA,
const FVector VertexB,
const FVector VertexC,
const FVector VertexD
)
}
}
interpolated value.
Parameters
| Name | Remarks |
|---|---|
| UV | interpolation coordinates [0..1] range |
| VertexA | first corner |
| VertexB | second corner |
| VertexC | third corner |
| VertexD | fourth corner |