FConvexVolume

[FConvexVolume](API\Runtime\Engine\FConvexVolume)

Windows
MacOS
Linux

Syntax

struct FConvexVolume

Remarks

Variables

Name Description

Public variable

FPermutedPlaneA...

 

PermutedPlanes

This is the set of planes pre-permuted to SSE/Altivec form

Public variable

FPlaneArray

 

Planes

Constructors

Name Description

Public function

FConvexVolume()

Public function

FConvexVolume

(
    const TArray< FPlane, TInlineAlloca...
)

Builds the set of planes used to clip against.

Functions

Name Description

Public function Const

bool

 

ClipPolygon

(
    FPoly& Polygon
)

Clips a polygon to the volume.

Public function Const

FOutcode

 

GetBoxIntersectionOutcode

(
    const FVector& Origin,
    const FVector& Extent
)

Public function

void

 

Init()

Builds the permuted planes for SSE/Altivec fast clipping

Public function Const

bool

 

IntersectBox

(
    const FVector& Origin,
    const FVector& Extent
)

Public function Const

bool

 

IntersectBox

(
    const FVector& Origin,
    const FVector& Extent,
    bool& bOutFullyContained
)

Public function Const

bool

 

IntersectBox

(
    const FVector& Origin,
    const FVector& Translation,
    const FVector& Extent
)

Intersection test with a translated axis-aligned box.

Public function Const

bool

 

IntersectLineSegment

(
    const FVector& Start,
    const FVector& End
)

Public function Const

bool

 

IntersectPoint

(
    const FVector& Point
)

Determines whether the given point lies inside the convex volume

Public function Const

bool

 

IntersectSphere

(
    const FVector& Origin,
    const float& Radius
)

Public function Const

bool

 

IntersectSphere

(
    const FVector& Origin,
    const float& Radius,
    bool& bOutFullyContained
)

Typedefs

Name

Description

FPermutedPlaneArray

FPlaneArray

References

Module

Engine

Header

Runtime/Engine/Public/ConvexVolume.h

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