Navigation
API > API/Runtime > API/Runtime/PhysicsCore
Description of triangle mesh collision data necessary for cooking physics data.
| Name | FTriMeshCollisionData |
| Type | struct |
| Header File | /Engine/Source/Runtime/PhysicsCore/Public/Interface_CollisionDataProviderCore.h |
| Include Path | #include "Interface_CollisionDataProviderCore.h" |
Syntax
struct FTriMeshCollisionData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTriMeshCollisionData() |
Interface_CollisionDataProviderCore.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDeformableMesh | uint32 | If mesh is deformable, we don't clean it, so that vertex layout does not change and it can be updated | Interface_CollisionDataProviderCore.h | |
| bDisableActiveEdgePrecompute | uint32 | Turn off ActiveEdgePrecompute (This makes cooking faster, but will slow contact generation) | Interface_CollisionDataProviderCore.h | |
| bFastCook | uint32 | Prioritize cooking speed over runtime speed | Interface_CollisionDataProviderCore.h | |
| bFlipNormals | uint32 | Does the mesh require its normals flipped (see PxMeshFlag) | Interface_CollisionDataProviderCore.h | |
| Indices | TArray< FTriIndices > | Array of indices defining the ordering of triangles in the mesh | Interface_CollisionDataProviderCore.h | |
| MaterialIndices | TArray< uint16 > | Array of optional material indices (must equal num triangles) | Interface_CollisionDataProviderCore.h | |
| UVs | TArray< TArray< FVector2D > > | Optional UV co-ordinates (each array must be zero of equal num vertices) | Interface_CollisionDataProviderCore.h | |
| Vertices | TArray< FVector3f > | Array of vertices included in the triangle mesh | Interface_CollisionDataProviderCore.h |