C# Class TextureHelpers, tf_client

Static helper methods for working with textures
Inheritance: System.Object
Afficher le fichier Open project: wids-eria/tf_client Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

Duplicate() public static méthode

Return a duplicate of tex
public static Duplicate ( Texture2D tex ) : Texture2D
tex UnityEngine.Texture2D /// A ///
Résultat UnityEngine.Texture2D

FloodFill() public static méthode

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 ///
Résultat void

FloodFill() public static méthode

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 ///
Résultat void