Show / Hide Table of Contents

Class Dx

Inheritance
Object
Dx
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Dx
Assembly: SlipeClient.dll
Syntax
public static class Dx

Methods

| Improve this Doc View Source

DrawCircle(Vector2, Single)

Declaration
public static bool DrawCircle(Vector2 position, float radius)
Parameters
Type Name Description
Vector2 position
Single radius
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawCircle(Vector2, Single, Color)

Declaration
public static bool DrawCircle(Vector2 position, float radius, Color color)
Parameters
Type Name Description
Vector2 position
Single radius
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawCircle(Vector2, Single, Color, Color, Single, Single, Int32, Int32, Boolean)

Declaration
public static bool DrawCircle(Vector2 position, float radius, Color color, Color centerColor, float startAngle = 0F, float stopAngle = 360F, int segments = 32, int ratio = 1, bool postGui = false)
Parameters
Type Name Description
Vector2 position
Single radius
Color color
Color centerColor
Single startAngle
Single stopAngle
Int32 segments
Int32 ratio
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(Material, Vector2, Vector2)

Declaration
public static bool DrawImage(Material material, Vector2 position, Vector2 dimensions)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(Material, Vector2, Vector2, Color)

Declaration
public static bool DrawImage(Material material, Vector2 position, Vector2 dimensions, Color color)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(Material, Vector2, Vector2, Color, Vector2, Single, Boolean)

Declaration
public static bool DrawImage(Material material, Vector2 position, Vector2 dimensions, Color color, Vector2 rotationCenterOffset, float rotation = 0F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Color color
Vector2 rotationCenterOffset
Single rotation
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(String, Vector2, Vector2)

Declaration
public static bool DrawImage(string filePath, Vector2 position, Vector2 dimensions)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(String, Vector2, Vector2, Color)

Declaration
public static bool DrawImage(string filePath, Vector2 position, Vector2 dimensions, Color color)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImage(String, Vector2, Vector2, Color, Vector2, Single, Boolean)

Declaration
public static bool DrawImage(string filePath, Vector2 position, Vector2 dimensions, Color color, Vector2 rotationCenterOffset, float rotation = 0F, bool postGui = false)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Color color
Vector2 rotationCenterOffset
Single rotation
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(Material, Vector2, Vector2, Vector2, Vector2)

Declaration
public static bool DrawImageSection(Material material, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(Material, Vector2, Vector2, Vector2, Vector2, Color)

Declaration
public static bool DrawImageSection(Material material, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size, Color color)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(Material, Vector2, Vector2, Vector2, Vector2, Color, Vector2, Single, Boolean)

Declaration
public static bool DrawImageSection(Material material, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size, Color color, Vector2 rotationCenterOffset, float rotation = 0F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Color color
Vector2 rotationCenterOffset
Single rotation
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(String, Vector2, Vector2, Vector2, Vector2)

Declaration
public static bool DrawImageSection(string filePath, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(String, Vector2, Vector2, Vector2, Vector2, Color)

Declaration
public static bool DrawImageSection(string filePath, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size, Color color)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawImageSection(String, Vector2, Vector2, Vector2, Vector2, Color, Vector2, Single, Boolean)

Declaration
public static bool DrawImageSection(string filePath, Vector2 position, Vector2 dimensions, Vector2 topLeft, Vector2 size, Color color, Vector2 rotationCenterOffset, float rotation = 0F, bool postGui = false)
Parameters
Type Name Description
String filePath
Vector2 position
Vector2 dimensions
Vector2 topLeft
Vector2 size
Color color
Vector2 rotationCenterOffset
Single rotation
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawLine(Vector2, Vector2, Color, Single, Boolean)

Declaration
public static bool DrawLine(Vector2 startPosition, Vector2 endPosition, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Vector2 startPosition
Vector2 endPosition
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawLine3D(Vector3, Vector3, Color, Single, Boolean)

Declaration
public static bool DrawLine3D(Vector3 startPosition, Vector3 endPosition, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Vector3 startPosition
Vector3 endPosition
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialLine3D(Material, Vector3, Vector3, Color, Single, Boolean)

Declaration
public static bool DrawMaterialLine3D(Material material, Vector3 startPosition, Vector3 endPosition, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector3 startPosition
Vector3 endPosition
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialLine3D(Material, Vector3, Vector3, Vector3, Color, Single, Boolean)

Declaration
public static bool DrawMaterialLine3D(Material material, Vector3 startPosition, Vector3 endPosition, Vector3 faceToward, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector3 startPosition
Vector3 endPosition
Vector3 faceToward
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialPrimitive(PrimitiveType, Material, List<Vertice>, Boolean)

Declaration
public static bool DrawMaterialPrimitive(PrimitiveType primitiveType, Material material, List<Vertice> vertices, bool postGui = false)
Parameters
Type Name Description
PrimitiveType primitiveType
Material material
List<Vertice> vertices
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialPrimitive(PrimitiveType, String, List<Vertice>, Boolean)

Declaration
public static bool DrawMaterialPrimitive(PrimitiveType primitiveType, string path, List<Vertice> vertices, bool postGui = false)
Parameters
Type Name Description
PrimitiveType primitiveType
String path
List<Vertice> vertices
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialSectionLine3D(Material, Vector3, Vector3, Vector2, Vector2, Color, Single, Boolean)

Declaration
public static bool DrawMaterialSectionLine3D(Material material, Vector3 startPosition, Vector3 endPosition, Vector2 topLeft, Vector2 size, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector3 startPosition
Vector3 endPosition
Vector2 topLeft
Vector2 size
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawMaterialSectionLine3D(Material, Vector3, Vector3, Vector3, Vector2, Vector2, Color, Single, Boolean)

Declaration
public static bool DrawMaterialSectionLine3D(Material material, Vector3 startPosition, Vector3 endPosition, Vector3 faceToward, Vector2 topLeft, Vector2 size, Color color, float width = 1F, bool postGui = false)
Parameters
Type Name Description
Material material
Vector3 startPosition
Vector3 endPosition
Vector3 faceToward
Vector2 topLeft
Vector2 size
Color color
Single width
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawPrimitive(PrimitiveType, List<Vertice>, Boolean)

Declaration
public static bool DrawPrimitive(PrimitiveType primitiveType, List<Vertice> vertices, bool postGui = false)
Parameters
Type Name Description
PrimitiveType primitiveType
List<Vertice> vertices
Boolean postGui
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawRectangle(Vector2, Vector2, Color, Boolean, Boolean)

Declaration
public static bool DrawRectangle(Vector2 position, Vector2 dimensions, Color color, bool postGui = false, bool subPixelPositioning = false)
Parameters
Type Name Description
Vector2 position
Vector2 dimensions
Color color
Boolean postGui
Boolean subPixelPositioning
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2)

Declaration
public static bool DrawText(string text, Vector2 position)
Parameters
Type Name Description
String text
Vector2 position
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2, Vector2, Color)

Declaration
public static bool DrawText(string text, Vector2 position, Vector2 bottomRight, Color color)
Parameters
Type Name Description
String text
Vector2 position
Vector2 bottomRight
Color color
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2, Vector2, Color, Vector2, Font, HorizontalAlign, VerticalAlign, Single)

Declaration
public static bool DrawText(string text, Vector2 position, Vector2 bottomRight, Color color, Vector2 scale, Font font, HorizontalAlign horizontalAlign = HorizontalAlign.Left, VerticalAlign verticalAlign = VerticalAlign.Top, float fRotation = 0F)
Parameters
Type Name Description
String text
Vector2 position
Vector2 bottomRight
Color color
Vector2 scale
Font font
HorizontalAlign horizontalAlign
VerticalAlign verticalAlign
Single fRotation
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2, Vector2, Color, Vector2, Font, HorizontalAlign, VerticalAlign, Single, Vector2, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public static bool DrawText(string text, Vector2 position, Vector2 bottomRight, Color color, Vector2 scale, Font font, HorizontalAlign horizontalAlign, VerticalAlign verticalAlign, float fRotation, Vector2 fRotationCenter, bool clip = false, bool wordBreak = false, bool postGUI = false, bool colorCoded = false, bool subPixelPositioning = false)
Parameters
Type Name Description
String text
Vector2 position
Vector2 bottomRight
Color color
Vector2 scale
Font font
HorizontalAlign horizontalAlign
VerticalAlign verticalAlign
Single fRotation
Vector2 fRotationCenter
Boolean clip
Boolean wordBreak
Boolean postGUI
Boolean colorCoded
Boolean subPixelPositioning
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2, Vector2, Color, Vector2, StandardFont, HorizontalAlign, VerticalAlign, Single)

Declaration
public static bool DrawText(string text, Vector2 position, Vector2 bottomRight, Color color, Vector2 scale, StandardFont font, HorizontalAlign horizontalAlign = HorizontalAlign.Left, VerticalAlign verticalAlign = VerticalAlign.Top, float fRotation = 0F)
Parameters
Type Name Description
String text
Vector2 position
Vector2 bottomRight
Color color
Vector2 scale
StandardFont font
HorizontalAlign horizontalAlign
VerticalAlign verticalAlign
Single fRotation
Returns
Type Description
Boolean
| Improve this Doc View Source

DrawText(String, Vector2, Vector2, Color, Vector2, StandardFont, HorizontalAlign, VerticalAlign, Single, Vector2, Boolean, Boolean, Boolean, Boolean, Boolean)

Declaration
public static bool DrawText(string text, Vector2 position, Vector2 bottomRight, Color color, Vector2 scale, StandardFont font, HorizontalAlign horizontalAlign, VerticalAlign verticalAlign, float fRotation, Vector2 fRotationCenter, bool clip = false, bool wordBreak = false, bool postGUI = false, bool colorCoded = false, bool subPixelPositioning = false)
Parameters
Type Name Description
String text
Vector2 position
Vector2 bottomRight
Color color
Vector2 scale
StandardFont font
HorizontalAlign horizontalAlign
VerticalAlign verticalAlign
Single fRotation
Vector2 fRotationCenter
Boolean clip
Boolean wordBreak
Boolean postGUI
Boolean colorCoded
Boolean subPixelPositioning
Returns
Type Description
Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX