Class LeagueNativeRendererManager
Inheritance
System.Object
LeagueNativeRendererManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Oasys.Common
Assembly: Oasys.Common.dll
Syntax
public class LeagueNativeRendererManager
Properties
IsWindowFocused
Checks whether if the game window is focused.
Declaration
public static bool IsWindowFocused { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
GetGameScreenResolution()
Gets the game's screen resolution with scalings applied.
Declaration
public static Vector2 GetGameScreenResolution()
Returns
Type | Description |
---|---|
SharpDX.Vector2 |
GetGameToWindowScreenScalingX()
Gets the operating system's x scaling applied to the game.
Declaration
public static float GetGameToWindowScreenScalingX()
Returns
Type | Description |
---|---|
System.Single |
GetGameToWindowScreenScalingY()
Gets the operating system's y scaling applied to the game.
Declaration
public static float GetGameToWindowScreenScalingY()
Returns
Type | Description |
---|---|
System.Single |
GetProjectionMatrix()
Gets the game's projection matrix.
Declaration
public static Matrix GetProjectionMatrix()
Returns
Type | Description |
---|---|
SharpDX.Matrix |
GetViewMatrix()
Gets the game's view matrix.
Declaration
public static Matrix GetViewMatrix()
Returns
Type | Description |
---|---|
SharpDX.Matrix |
GetViewProjectionMatrix()
Gets the game's view projection matrix.
Declaration
public static Matrix GetViewProjectionMatrix()
Returns
Type | Description |
---|---|
SharpDX.Matrix |
GetWindowsScreenResolution()
Gets the monitor screen resolution with scalings applied.
Declaration
public static Vector2 GetWindowsScreenResolution()
Returns
Type | Description |
---|---|
SharpDX.Vector2 |
GetWindowsScreenScalingFactor()
Gets the operating system's scaling factor.
Declaration
public static double GetWindowsScreenScalingFactor()
Returns
Type | Description |
---|---|
System.Double |
GetWindowState()
Gets the game's window state.
Declaration
public static LeagueNativeRendererManager.WindowState GetWindowState()
Returns
Type | Description |
---|---|
LeagueNativeRendererManager.WindowState |
WorldToScreen(Vector3)
Performs world to screen coordinate translation.
Declaration
public static Vector2 WorldToScreen(Vector3 pos)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector3 | pos |
Returns
Type | Description |
---|---|
SharpDX.Vector2 |
WorldToScreenSpell(Vector3)
Performs world to screen coordinate translation for spell positions that goes beyond the screen resolution.
Declaration
public static Vector2 WorldToScreenSpell(Vector3 pos)
Parameters
Type | Name | Description |
---|---|---|
SharpDX.Vector3 | pos |
Returns
Type | Description |
---|---|
SharpDX.Vector2 |