![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Interface_CollisionDataProviderCore.h>
Public Member Functions | |
| FTriMeshCollisionData () | |
Public Attributes | |
| TArray< FVector3f > | Vertices |
| TArray< FTriIndices > | Indices |
| TArray< uint16 > | MaterialIndices |
| TArray< TArray< FVector2D > > | UVs |
| uint32 | bFlipNormals: 1 |
| uint32 | bDeformableMesh: 1 |
| uint32 | bFastCook: 1 |
| uint32 | bDisableActiveEdgePrecompute: 1 |
|
inline |
| uint32 FTriMeshCollisionData::bDeformableMesh |
If mesh is deformable, we don't clean it, so that vertex layout does not change and it can be updated
| uint32 FTriMeshCollisionData::bDisableActiveEdgePrecompute |
Turn off ActiveEdgePrecompute (This makes cooking faster, but will slow contact generation)
| uint32 FTriMeshCollisionData::bFastCook |
Prioritize cooking speed over runtime speed
| uint32 FTriMeshCollisionData::bFlipNormals |
Does the mesh require its normals flipped (see PxMeshFlag)
| TArray<FTriIndices> FTriMeshCollisionData::Indices |
Array of indices defining the ordering of triangles in the mesh
Array of optional material indices (must equal num triangles)
Optional UV co-ordinates (each array must be zero of equal num vertices)