FBodySetupUVInfo

UV information for BodySetup, only created if [UPhysicsSettings::bSupportUVFromHitResults](API\Runtime\Engine\PhysicsEngine\UPhysicsSettings\bSupportUVFromHitResults)

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "PhysicsEngine/BodySetup.h"

Syntax

struct FBodySetupUVInfo

Remarks

UV information for BodySetup, only created if [UPhysicsSettings::bSupportUVFromHitResults](API\Runtime\Engine\PhysicsEngine\UPhysicsSettings\bSupportUVFromHitResults)

Variables

Name Description

Public variable

TArray< int32 >

 

IndexBuffer

Index buffer, required to go from face index to UVs

Public variable

TArray< FVector...

 

VertPositions

Vertex positions, used to determine barycentric co-ords

Public variable

TArray< TArray<...

 

VertUVs

UV channels for each vertex

Functions

Name Description

Public function

void

 

FillFromTriMesh

(
    const FTriMeshCollisionData& TriMe...
)

Public function Const

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourc...
)

Get resource size of UV info

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback