Navigation
API > API/Runtime > API/Runtime/PhysicsCore
References
| Module | PhysicsCore |
| Header | /Engine/Source/Runtime/PhysicsCore/Public/Interface_CollisionDataProviderCore.h |
| Include | #include "Interface_CollisionDataProviderCore.h" |
Syntax
struct FTriMeshCollisionData
Remarks
Description of triangle mesh collision data necessary for cooking physics data.
Variables
| Type | 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) | |
| TArray< FTriIndices > | Indices | Array of indices defining the ordering of triangles in the mesh | |
| TArray< uint16 > | MaterialIndices | Array of optional material indices (must equal num triangles) | |
| TArray< TArray< FVector2D > > | UVs | Optional UV co-ordinates (each array must be zero of equal num vertices) | |
| TArray< FVector3f > | Vertices | Array of vertices included in the triangle mesh |
Constructors
| Type | Name | Description | |
|---|---|---|---|