Navigation
API > API/Runtime > API/Runtime/Engine
UV information for BodySetup, only created if UPhysicsSettings::bSupportUVFromHitResults
| Name | FBodySetupUVInfo |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h |
| Include Path | #include "PhysicsEngine/BodySetup.h" |
Syntax
struct FBodySetupUVInfo
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IndexBuffer | TArray< int32 > | Index buffer, required to go from face index to UVs | PhysicsEngine/BodySetup.h | |
| VertPositions | TArray< FVector > | Vertex positions, used to determine barycentric co-ords | PhysicsEngine/BodySetup.h | |
| VertUVs | TArray< TArray< FVector2D > > | UV channels for each vertex | PhysicsEngine/BodySetup.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FillFromTriMesh
(
const FTriMeshCollisionData& TriMeshCollisionData |
PhysicsEngine/BodySetup.h | ||
void GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get resource size of UV info | PhysicsEngine/BodySetup.h |