C# Класс Rondo.NodeEditor.System.NodeUtils

Показать файл Открыть проект

Открытые методы

Метод Описание
ColorToTex ( Color col ) : Texture2D

Creates a texture with just a single color

DrawNodeCurve ( Rect start, Rect end ) : void

Draws a curve on the screen from one rectangle to the other

SnapRectToRect ( Rect rect, Rect snapTo ) : void

Snaps a rectangle to another rectangle

Описание методов

ColorToTex() публичный статический Метод

Creates a texture with just a single color
public static ColorToTex ( Color col ) : Texture2D
col Color
Результат UnityEngine.Texture2D

DrawNodeCurve() публичный статический Метод

Draws a curve on the screen from one rectangle to the other
public static DrawNodeCurve ( Rect start, Rect end ) : void
start UnityEngine.Rect
end UnityEngine.Rect
Результат void

SnapRectToRect() публичный статический Метод

Snaps a rectangle to another rectangle
public static SnapRectToRect ( Rect rect, Rect snapTo ) : void
rect UnityEngine.Rect The rectangle to snap
snapTo UnityEngine.Rect The rectangle to snap to
Результат void