M&B: Bannerlord 1.2.7
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.TwoDimension.Rectangle Struct Reference

Public Member Functions

 Rectangle (float x, float y, float width, float height)
 
bool IsCollide (Rectangle other)
 
bool IsSubRectOf (Rectangle other)
 
bool IsValid ()
 
bool IsPointInside (Vector2 point)
 

Public Attributes

float X
 
float Y
 
float X2
 
float Y2
 

Properties

float Width [get]
 
float Height [get]
 

Constructor & Destructor Documentation

◆ Rectangle()

TaleWorlds.TwoDimension.Rectangle.Rectangle ( float  x,
float  y,
float  width,
float  height 
)

Member Function Documentation

◆ IsCollide()

bool TaleWorlds.TwoDimension.Rectangle.IsCollide ( Rectangle  other)

◆ IsSubRectOf()

bool TaleWorlds.TwoDimension.Rectangle.IsSubRectOf ( Rectangle  other)

◆ IsValid()

bool TaleWorlds.TwoDimension.Rectangle.IsValid ( )

◆ IsPointInside()

bool TaleWorlds.TwoDimension.Rectangle.IsPointInside ( Vector2  point)

Member Data Documentation

◆ X

float TaleWorlds.TwoDimension.Rectangle.X

◆ Y

float TaleWorlds.TwoDimension.Rectangle.Y

◆ X2

float TaleWorlds.TwoDimension.Rectangle.X2

◆ Y2

float TaleWorlds.TwoDimension.Rectangle.Y2

Property Documentation

◆ Width

float TaleWorlds.TwoDimension.Rectangle.Width
get

◆ Height

float TaleWorlds.TwoDimension.Rectangle.Height
get