Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Animation > FAnimPhys > CalculateVolume
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/Animation/AnimPhysicsSolver.h |
Include | #include "Animation/AnimPhysicsSolver.h" |
Source | /Engine/Source/Runtime/Engine/Private/Animation/AnimPhysicsSolver.cpp |
static float CalculateVolume
&40;
const TArray< FVector > & InVertices,
const TArray< FIntVector > & InTriangles
&41;
Remarks
Calculates the volume of a shape
Parameters
Name | Description |
---|---|
InVertices | Verts in the shape |
InTriangles | Triangles represented in InVertices |