FBounds2D

Struct for 2D bounds and associated operations.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/HeightField.h

Include

#include "Chaos/HeightField.h"

Syntax

struct FBounds2D

Remarks

Struct for 2D bounds and associated operations.

Variables

Name Description

Public variable

FVec2

 

Max

Public variable

FVec2

 

Min

Constructors

Name Description

Public function

FBounds2D()

Public function

FBounds2D

(
    const FAABB3& In3DBounds
)

Functions

Name Description

Public function Const

FVec2

 

Clamp

(
    const FVec2& InToClamp,
    FReal InNudge
)

Public function Const

bool

 

ClipLine

(
    FVec2& InOutStart,
    FVec2& InOutEnd
)

Public function Const

bool

 

ClipLine

(
    const FVec3& InStart,
    const FVec3& InEnd,
    FVec2& OutClippedStart,
    FVec2& OutClippedEnd
)

Public function Const

FVec2

 

GetExtent()

Public function

bool

 

IntersectLine

(
    const FVec2& InStart,
    const FVec2& InEnd
)

Public function Const

bool

 

IsInside

(
    const FVec2& InPoint
)

Public function

void

 

Set

(
    const FAABB3& In3DBounds
)

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