M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.Engine.BoundingBox Struct Reference

Classes

struct  TransformedBoundingBoxPointsContainer
 

Public Member Functions

 BoundingBox (in Vec3 point)
 
void RelaxMinMaxWithPoint (in Vec3 point)
 
void RelaxMinMaxWithPointAndRadius (in Vec3 point, float radius)
 
void RecomputeRadius ()
 
TransformedBoundingBoxPointsContainer GetTransformedTipPointsToParent (in MatrixFrame parentFrame)
 
TransformedBoundingBoxPointsContainer GetTransformedTipPointsToChild (in MatrixFrame childFrame)
 
void RelaxWithBoundingBox (BoundingBox modifiedBoundingBox)
 
void RelaxWithArbitraryBoundingBox (BoundingBox otherBoundingBox, MatrixFrame otherGlobalFrame, MatrixFrame globalFrameOfThisBoundingBox)
 
void RelaxWithChildBoundingBox (BoundingBox childBoundingBox, MatrixFrame childFrame)
 
void BeginRelaxation ()
 
bool PointInsideBox (Vec3 point, float epsilon)
 
void RenderBoundingBox ()
 

Static Public Member Functions

static bool ArrangeWithAnotherBoundingBox (ref BoundingBox boundingBox, BoundingBox otherBoundingBox, float changeAmount)
 
static float GetLongestHalfDimensionOfBoundingBox (BoundingBox boundingBox)
 

Public Attributes

Vec3 min
 
Vec3 max
 
Vec3 center
 
float radius
 

Properties

Vec3 this[int index] [get]
 

Constructor & Destructor Documentation

◆ BoundingBox()

TaleWorlds.Engine.BoundingBox.BoundingBox ( in Vec3 point)

Member Function Documentation

◆ RelaxMinMaxWithPoint()

void TaleWorlds.Engine.BoundingBox.RelaxMinMaxWithPoint ( in Vec3 point)

◆ RelaxMinMaxWithPointAndRadius()

void TaleWorlds.Engine.BoundingBox.RelaxMinMaxWithPointAndRadius ( in Vec3 point,
float radius )

◆ RecomputeRadius()

void TaleWorlds.Engine.BoundingBox.RecomputeRadius ( )

◆ GetTransformedTipPointsToParent()

TransformedBoundingBoxPointsContainer TaleWorlds.Engine.BoundingBox.GetTransformedTipPointsToParent ( in MatrixFrame parentFrame)

◆ GetTransformedTipPointsToChild()

TransformedBoundingBoxPointsContainer TaleWorlds.Engine.BoundingBox.GetTransformedTipPointsToChild ( in MatrixFrame childFrame)

◆ RelaxWithBoundingBox()

void TaleWorlds.Engine.BoundingBox.RelaxWithBoundingBox ( BoundingBox modifiedBoundingBox)

◆ RelaxWithArbitraryBoundingBox()

void TaleWorlds.Engine.BoundingBox.RelaxWithArbitraryBoundingBox ( BoundingBox otherBoundingBox,
MatrixFrame otherGlobalFrame,
MatrixFrame globalFrameOfThisBoundingBox )

◆ RelaxWithChildBoundingBox()

void TaleWorlds.Engine.BoundingBox.RelaxWithChildBoundingBox ( BoundingBox childBoundingBox,
MatrixFrame childFrame )

◆ BeginRelaxation()

void TaleWorlds.Engine.BoundingBox.BeginRelaxation ( )

◆ ArrangeWithAnotherBoundingBox()

static bool TaleWorlds.Engine.BoundingBox.ArrangeWithAnotherBoundingBox ( ref BoundingBox boundingBox,
BoundingBox otherBoundingBox,
float changeAmount )
static

◆ PointInsideBox()

bool TaleWorlds.Engine.BoundingBox.PointInsideBox ( Vec3 point,
float epsilon )

◆ GetLongestHalfDimensionOfBoundingBox()

static float TaleWorlds.Engine.BoundingBox.GetLongestHalfDimensionOfBoundingBox ( BoundingBox boundingBox)
static

◆ RenderBoundingBox()

void TaleWorlds.Engine.BoundingBox.RenderBoundingBox ( )

Member Data Documentation

◆ min

Vec3 TaleWorlds.Engine.BoundingBox.min

◆ max

Vec3 TaleWorlds.Engine.BoundingBox.max

◆ center

Vec3 TaleWorlds.Engine.BoundingBox.center

◆ radius

float TaleWorlds.Engine.BoundingBox.radius

Property Documentation

◆ this[int index]

Vec3 TaleWorlds.Engine.BoundingBox.this[int index]
get