G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FBox Struct Reference

A bounding box. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Box.h. More...

Public Member Functions

Functions
bool Intersect (FBox Other) const
FBox & opAddAssign (FBox Other)
bool opEquals (FBox Other) const
FBox opAdd (FVector Other) const
FBox & opAddAssign (FVector Other)
FVector & opIndex (int Index)
FVector GetCenter () const
FVector GetExtent () const
float GetVolume () const
void GetCenterAndExtents (FVector &Center, FVector &Extents) const
FVector GetClosestPointTo (FVector In) const
FBox InverseTransformBy (FTransform M) const
FBox TransformBy (FTransform M) const
bool Equals (FBox Other, float Tolerance=KINDA_SMALL_NUMBER) const
FBox opAdd (FBox Other) const
bool IntersectXY (FBox Other) const
FBox Overlap (FBox Other) const
FBox ExpandBy (float W) const
FBox ExpandBy (FVector V) const
FBox ShiftBy (FVector Offset) const
FBox MoveTo (FVector Destination) const
bool IsInside (FVector In) const
bool IsInsideOrOn (FVector In) const
bool IsInside (FBox In) const
bool IsInsideXY (FVector In) const
bool IsInsideOrOnXY (FVector In) const
bool IsInsideXY (FBox In) const
FString ToString () const

Static Public Member Functions

Static Functions
static FBox BuildAABB (FVector Origin, FVector Extent)

Public Attributes

Box
FVector Max
FVector Min
Variables
const FVector Extent
const float Volume
const FVector Center

Detailed Description

A bounding box. @note The full C++ class is located here: Engine\Source\Runtime\Core\Public\Math\Box.h.

Member Function Documentation

◆ BuildAABB()

FBox BuildAABB ( FVector Origin,
FVector Extent )
static

◆ Equals()

bool Equals ( FBox Other,
float Tolerance = KINDA_SMALL_NUMBER ) const

◆ ExpandBy() [1/2]

FBox ExpandBy ( float W) const

◆ ExpandBy() [2/2]

FBox ExpandBy ( FVector V) const

◆ GetCenter()

FVector GetCenter ( ) const

◆ GetCenterAndExtents()

void GetCenterAndExtents ( FVector & Center,
FVector & Extents ) const

◆ GetClosestPointTo()

FVector GetClosestPointTo ( FVector In) const

◆ GetExtent()

FVector GetExtent ( ) const

◆ GetVolume()

float GetVolume ( ) const

◆ Intersect()

bool Intersect ( FBox Other) const

◆ IntersectXY()

bool IntersectXY ( FBox Other) const

◆ InverseTransformBy()

FBox InverseTransformBy ( FTransform M) const

◆ IsInside() [1/2]

bool IsInside ( FBox In) const

◆ IsInside() [2/2]

bool IsInside ( FVector In) const

◆ IsInsideOrOn()

bool IsInsideOrOn ( FVector In) const

◆ IsInsideOrOnXY()

bool IsInsideOrOnXY ( FVector In) const

◆ IsInsideXY() [1/2]

bool IsInsideXY ( FBox In) const

◆ IsInsideXY() [2/2]

bool IsInsideXY ( FVector In) const

◆ MoveTo()

FBox MoveTo ( FVector Destination) const

◆ opAdd() [1/2]

FBox opAdd ( FBox Other) const

◆ opAdd() [2/2]

FBox opAdd ( FVector Other) const

◆ opAddAssign() [1/2]

FBox & opAddAssign ( FBox Other)

◆ opAddAssign() [2/2]

FBox & opAddAssign ( FVector Other)

◆ opEquals()

bool opEquals ( FBox Other) const

◆ opIndex()

FVector & opIndex ( int Index)

◆ Overlap()

FBox Overlap ( FBox Other) const

◆ ShiftBy()

FBox ShiftBy ( FVector Offset) const

◆ ToString()

FString ToString ( ) const

◆ TransformBy()

FBox TransformBy ( FTransform M) const

Member Data Documentation

◆ Center

const FVector Center

◆ Extent

const FVector Extent

◆ Max

FVector Max

◆ Min

FVector Min

◆ Volume

const float Volume