FAnimPhys::CalculateVolume

Calculates the volume of a shape

Windows
MacOS
Linux

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

Syntax

static float CalculateVolume
(
    const TArray< FVector > & InVertices,
    const TArray< FIntVector > & InTriangles
)

Remarks

Calculates the volume of a shape

Parameters

Parameter

Description

InVertices

Verts in the shape

InTriangles

Triangles represented in InVertices

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss