Navigation
Unreal Engine C++ API Reference > Runtime > Engine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/ConvexVolume.h |
Include | #include "ConvexVolume.h" |
Syntax
struct FConvexVolume
Remarks
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FPermutedPlaneArray | PermutedPlanes | This is the set of planes pre-permuted to SSE/Altivec form |
![]() |
FPlaneArray | Planes |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FConvexVolume
(
const TArray< FPlane, TInlineAllocator< 6 >>& InPlanes |
Builds the set of planes used to clip against. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | ClipPolygon
(
FPoly& Polygon |
Clips a polygon to the volume. |
![]() ![]() |
float | DistanceTo
(
const FVector& Point |
Calculates the maximum perpendicular distance of a point to the plains of the convex volume. |
![]() ![]() |
FOutcode | GetBoxIntersectionOutcode
(
const FVector& Origin, |
|
![]() |
void | Init () |
Builds the permuted planes for SSE/Altivec fast clipping |
![]() ![]() |
bool | IntersectBox
(
const FVector& Origin, |
Intersection test with a translated axis-aligned box. |
![]() ![]() |
bool | IntersectBox
(
const FVector& Origin, |
Intersection test with a translated axis-aligned box. |
![]() ![]() |
bool | IntersectBox
(
const FVector& Origin, |
Intersection test with a translated axis-aligned box. |
![]() ![]() |
bool | IntersectLineSegment
(
const FVector& Start, |
Intersection test with line segment |
![]() ![]() |
bool | IntersectPoint
(
const FVector& Point |
Determines whether the given point lies inside the convex volume |
![]() ![]() |
bool | IntersectSphere
(
const FVector& Origin, |
Intersection test with a sphere |
![]() ![]() |
bool | IntersectSphere
(
const FVector& Origin, |
Intersection test with a sphere |
![]() ![]() |
bool | IntersectTriangle
(
const FVector& PointA, |
Intersection test with a triangle param bOutFullyContained to know if the triangle was fully contained |
Typedefs
Name | Description |
---|---|
FPermutedPlaneArray | |
FPlaneArray |