Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/PhysicsCore/Public/Interface_CollisionDataProviderCore.h |
Include |
#include "Interface_CollisionDataProviderCore.h" |
struct FTriMeshCollisionData
Description of triangle mesh collision data necessary for cooking physics data.
Name | Description | ||
---|---|---|---|
|
uint32: 1 |
bDeformableMesh |
If mesh is deformable, we don't clean it, so that vertex layout does not change and it can be updated |
|
uint32: 1 |
bDisableActiveEdgePrecompute |
Turn off ActiveEdgePrecompute (This makes cooking faster, but will slow contact generation) |
|
uint32: 1 |
bFastCook |
Prioritize cooking speed over runtime speed |
|
uint32: 1 |
bFlipNormals |
Does the mesh require its normals flipped (see PxMeshFlag) |
|
Indices |
Array of indices defining the ordering of triangles in the mesh |
|
|
MaterialIndices |
Array of optional material indices (must equal num triangles) |
|
|
UVs |
Optional UV co-ordinates (each array must be zero of equal num vertices) |
|
|
Vertices |
Array of vertices included in the triangle mesh |
Name | Description | |
---|---|---|
|
FTriMeshCollisionData() |