M&B: Bannerlord 1.0.0
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.MountAndBlade.MBWindowManager Class Reference

Static Public Member Functions

static float WorldToScreen (Camera camera, Vec3 worldSpacePosition, ref float screenX, ref float screenY, ref float w)
 Returns coordinates of a position, projected onto the screen space, inside the game window, does not calculate for usable area. More...
 
static float WorldToScreenInsideUsableArea (Camera camera, Vec3 worldSpacePosition, ref float screenX, ref float screenY, ref float w)
 Returns coordinates of a position, projected onto the screen space, inside the usable area. e.g 0,0 is the top left corner but if the Usable area starts at (100,100), this method will return (-100,-100) More...
 
static float WorldToScreenWithFixedZ (Camera camera, Vec3 cameraPosition, Vec3 worldSpacePosition, ref float screenX, ref float screenY, ref float w)
 
static void ScreenToWorld (Camera camera, float screenX, float screenY, float w, ref Vec3 worldSpacePosition)
 
static void PreDisplay ()
 
static void DontChangeCursorPos ()
 

Member Function Documentation

◆ WorldToScreen()

static float TaleWorlds.MountAndBlade.MBWindowManager.WorldToScreen ( Camera  camera,
Vec3  worldSpacePosition,
ref float  screenX,
ref float  screenY,
ref float  w 
)
static

◆ WorldToScreenInsideUsableArea()

static float TaleWorlds.MountAndBlade.MBWindowManager.WorldToScreenInsideUsableArea ( Camera  camera,
Vec3  worldSpacePosition,
ref float  screenX,
ref float  screenY,
ref float  w 
)
static

◆ WorldToScreenWithFixedZ()

static float TaleWorlds.MountAndBlade.MBWindowManager.WorldToScreenWithFixedZ ( Camera  camera,
Vec3  cameraPosition,
Vec3  worldSpacePosition,
ref float  screenX,
ref float  screenY,
ref float  w 
)
static

◆ ScreenToWorld()

static void TaleWorlds.MountAndBlade.MBWindowManager.ScreenToWorld ( Camera  camera,
float  screenX,
float  screenY,
float  w,
ref Vec3  worldSpacePosition 
)
static

◆ PreDisplay()

static void TaleWorlds.MountAndBlade.MBWindowManager.PreDisplay ( )
static

◆ DontChangeCursorPos()

static void TaleWorlds.MountAndBlade.MBWindowManager.DontChangeCursorPos ( )
static