FConvexVolume

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

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ConvexVolume.h

Include

#include "ConvexVolume.h"

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

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