Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
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
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< int32 > | IndexBuffer | Index buffer, required to go from face index to UVs | |
| TArray< FVector > | VertPositions | Vertex positions, used to determine barycentric co-ords | |
| TArray< TArray< FVector2D > > | VertUVs | UV channels for each vertex |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | FillFromTriMesh
(
const FTriMeshCollisionData& TriMeshCollisionData |
||
| void | GetResourceSizeEx
(
FResourceSizeEx& CumulativeResourceSize |
Get resource size of UV info |