Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UBodySetup
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 |
bool CalcUVAtLocation
&40;
const FVector & BodySpaceLocation,
int32 FaceIndex,
int32 UVChannel,
FVector2D & UV
&41; const
Remarks
Given a location in body space, and face index, find the UV of the desired UV channel. Note this ONLY works if 'Support UV From Hit Results' is enabled in Physics Settings.