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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback