C# Class Transit.Framework.Texturing.TextureHelper

Afficher le fichier Open project: Katalyst6/CSL.TransitAddonMod

Méthodes publiques

Méthode Description
AsEditableTexture ( this textureBytes, string textureName = null ) : Texture2D
AsTexture ( this textureBytes, string textureName, TextureType type ) : Texture2D
Lerp ( float baseColorPart, float defaultColorPart, float level ) : float
Save ( this imageBytes, string path ) : void

Method Details

AsEditableTexture() public static méthode

public static AsEditableTexture ( this textureBytes, string textureName = null ) : Texture2D
textureBytes this
textureName string
Résultat UnityEngine.Texture2D

AsTexture() public static méthode

public static AsTexture ( this textureBytes, string textureName, TextureType type ) : Texture2D
textureBytes this
textureName string
type TextureType
Résultat UnityEngine.Texture2D

Lerp() public static méthode

public static Lerp ( float baseColorPart, float defaultColorPart, float level ) : float
baseColorPart float
defaultColorPart float
level float
Résultat float

Save() public static méthode

public static Save ( this imageBytes, string path ) : void
imageBytes this
path string
Résultat void