C# Класс TextureHelpers, tf_client

Static helper methods for working with textures
Наследование: System.Object
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Duplicate ( Texture2D tex ) : Texture2D

Return a duplicate of tex

FloodFill ( Texture2D tex, Color col, ApplyMode apply ) : void

Flood fill the specified texture with the specified color

FloodFill ( Texture2D tex, int x, int y, int width, int height, Color col, ApplyMode apply ) : void

Flood fill the specified block on the specified texture using the specified color

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

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

Return a duplicate of tex
public static Duplicate ( Texture2D tex ) : Texture2D
tex UnityEngine.Texture2D /// A ///
Результат UnityEngine.Texture2D

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

Flood fill the specified texture with the specified color
public static FloodFill ( Texture2D tex, Color col, ApplyMode apply ) : void
tex UnityEngine.Texture2D /// A ///
col Color /// A ///
apply ApplyMode /// A ///
Результат void

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

Flood fill the specified block on the specified texture using the specified color
public static FloodFill ( Texture2D tex, int x, int y, int width, int height, Color col, ApplyMode apply ) : void
tex UnityEngine.Texture2D /// A ///
x int /// A ///
y int /// A ///
width int /// A ///
height int /// A ///
col Color /// A ///
apply ApplyMode /// A ///
Результат void