FTriangle

Windows
MacOS
Linux

References

Module

Chaos

Header

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

Include

#include "Chaos/Triangle.h"

Syntax

class FTriangle

Constructors

Name Description

Public function

FTriangle

(
    const FVec3& InA,
    const FVec3& InB,
    const FVec3& InC
)

Functions

Name Description

Public function Const

FReal

 

GetMargin()

Public function Const

FVec3

 

GetNormal()

Public function Const

TPlane< FRea...

 

GetPlane()

Public function Const

FReal

 

GetRadius()

Public function Const

bool

 

IsConvex()

Public function Const

bool

 

Overlap

(
    const FVec3& Point,
    const FReal Thickness
)

Public function Const

FReal

 

PhiWithNormal

(
    const FVec3& InSamplePoint,
    FVec3& OutNormal
)

Public function Const

bool

 

Raycast

(
    const FVec3& StartPoint,
    const FVec3& Dir,
    const FReal Length,
    const FReal Thickness,
    FReal& OutTime,
    FVec3& OutPosition,
    FVec3& OutNormal,
    int32& OutFaceIndex
)

Public function Const

FVec3

 

Support

(
    const FVec3& Direction,
    const FReal Thickness
)

Public function Const

FVec3

 

SupportCore

(
    const FVec3& Direction,
    FReal InMargin
)

Public function Const

FVec3

 

SupportCoreScaled

(
    const FVec3& Direction,
    FReal InMargin,
    const FVec3& Scale
)

Operators

Name Description

Public function

FVec3 &

 

operator[]

(
    uint32 InIndex
)

Public function Const

const FVec3 ...

 

operator[]

(
    uint32 InIndex
)

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