Doloro GDK 22 .1.0 Beta
by Tauri Interactive
Doloro.AI.DAIStudio.Gizmos Class Reference

Detailed Description

Extension class using to in-editor gizmos draws.

Static Public Member Functions

static void СurveFromTo (Rect wr, Rect wr2, Color color)
 Draws curve between two world areas. More...
 
static void DrawGrid (Vector2 scrollBar, Vector2 windowSize)
 Draws the grid in screen space.
 
static void DrawLine (Vector2 pointA, Vector2 pointB, Color color, float width, bool antiAlias)
 Draws line between two world points. More...
 

Static Public Attributes

static Vector2 offset = new Vector2()
 Смещение гизмоса
 

Member Function Documentation

◆ СurveFromTo()

static void Doloro.AI.DAIStudio.Gizmos.СurveFromTo ( Rect  wr,
Rect  wr2,
Color  color 
)
static

Draws curve between two world areas.

Parameters
wrOrigin rect.
wr2Destination rect.
colorLine color.

◆ DrawLine()

static void Doloro.AI.DAIStudio.Gizmos.DrawLine ( Vector2  pointA,
Vector2  pointB,
Color  color,
float  width,
bool  antiAlias 
)
static

Draws line between two world points.

Parameters
pointAOrigin point.
pointBDestination point.
colorLine color.
widthLine width.
antiAliasIs antialiasing enabled on render.

The documentation for this class was generated from the following file: