UBodySetup::CalcUVAtLocation

Given a location in body space, and face index, find the UV of the desired UV channel.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h

Include

#include "PhysicsEngine/BodySetup.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodySetup.cpp

Syntax

bool CalcUVAtLocation
(
    const FVector & BodySpaceLocation,
    int32 FaceIndex,
    int32 UVChannel,
    FVector2D & UV
) const

Remarks

Given a location in body space, and face index, find the UV of the desired UV channel.

this ONLY works if 'Support UV From Hit Results' is enabled in Physics Settings.

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