Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FHeightField
Struct for 2D bounds and associated operations.
| Name | FBounds2D |
| Type | struct |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/HeightField.h |
| Include Path | #include "Chaos/HeightField.h" |
Syntax
struct FBounds2D
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FBounds2D () |
Chaos/HeightField.h | ||
FBounds2D
(
const FAABB3& In3DBounds |
Chaos/HeightField.h | ||
FBounds2D
(
const FVec2& InMin, |
Chaos/HeightField.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Max | FVec2 | Chaos/HeightField.h | ||
| Min | FVec2 | Chaos/HeightField.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FVec2 Clamp
(
const FVec2& InToClamp, |
Chaos/HeightField.h | ||
bool ClipLine
(
FVec2& InOutStart, |
Chaos/HeightField.h | ||
bool ClipLine
(
const FVec3& InStart, |
Chaos/HeightField.h | ||
FVec2 GetExtent() |
Chaos/HeightField.h | ||
void GrowToInclude
(
const FVec2& InPoint |
Chaos/HeightField.h | ||
void Inflate
(
const FVec2& InInflation |
Chaos/HeightField.h | ||
bool IntersectLine
(
const FVec2& InStart, |
Chaos/HeightField.h | ||
bool IsInside
(
const FVec2& InPoint |
Chaos/HeightField.h | ||
void Set
(
const FAABB3& In3DBounds |
Chaos/HeightField.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FBounds2D FromPoints
(
const FVec2& P0, |
Given a set of points, wrap a 2D bounds around them | Chaos/HeightField.h |