FConvexBuilder

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollisionConvexMesh.h

Include

#include "Chaos/CollisionConvexMesh.h"

Syntax

class FConvexBuilder

Functions

Name Description

Public function Static

void

 

Build

(
    const TParticles< FReal, 3 >& InPa...,
    TArray< TPlaneConcrete< FReal, 3 >>...,
    TArray< TArray< int32 >>& OutFaceI...,
    TParticles< FReal, 3 >& OutSurface...,
    TAABB< FReal, 3 >& OutLocalBounds
)

Public function Static

void

 

BuildConvexHull

(
    const TParticles< FReal, 3 >& InPa...,
    TArray< TVector< int32, 3 >>& OutI...
)

Public function Static

TTriangleMes...

 

BuildConvexHullTriMesh

(
    const TParticles< FReal, 3 >& InPa...
)

Public function Static

bool

 

IsGeometryReductionEnabled()

Public function Static

bool

 

IsPerformanceWarning

(
    int32 NumPlanes,
    int32 NumParticles
)

Public function Static

bool

 

IsPlanarShape

(
    const TParticles< FReal, 3 >& InPa...,
    FVec3& OutNormal
)

Public function Static

bool

 

IsValidQuad

(
    const FVec3& A,
    const FVec3& B,
    const FVec3& C,
    const FVec3& D,
    FVec3& OutNormal
)

Public function Static

bool

 

IsValidTriangle

(
    const FVec3& A,
    const FVec3& B,
    const FVec3& C
)

Public function Static

bool

 

IsValidTriangle

(
    const FVec3& A,
    const FVec3& B,
    const FVec3& C,
    FVec3& OutNormal
)

Public function Static

FString

 

PerformanceWarningString

(
    int32 NumPlanes,
    int32 NumParticles
)

Public function Static

void

 

Simplify

(
    TArray< TPlaneConcrete< FReal, 3 >>...,
    TArray< TArray< int32 >>& InOutFac...,
    TParticles< FReal, 3 >& InOutParti...,
    TAABB< FReal, 3 >& InOutLocalBound...
)

Constants

Name

Description

ParticlesThreshold

PerformGeometryCheck

CVars variables for controlling geometry complexity checking and simplification.

PerformGeometryReduction

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