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