C# Class Transit.Framework.Texturing.TextureBlender

Inheritance: ITextureProvider
Afficher le fichier Open project: Katalyst6/CSL.TransitAddonMod

Méthodes publiques

Méthode Description
FromBaseFile ( string baseTexturePath, string textureName = null ) : TextureBlender
FromTexture ( Texture2D baseTexture ) : TextureBlender
GetTexture ( ) : Texture2D
TextureBlender ( Func baseTextureProvider ) : System
WithAlphaComponent ( Texture2D alphaTexture, Point position = null ) : TextureBlender
WithComponent ( string path, byte alphaLevel = 255, int positionX, bool increaseXOffset = true ) : TextureBlender
WithXOffset ( int xOffset ) : TextureBlender

Private Methods

Méthode Description
AddComponent ( ITextureBlenderComponent component ) : void

Method Details

FromBaseFile() public static méthode

public static FromBaseFile ( string baseTexturePath, string textureName = null ) : TextureBlender
baseTexturePath string
textureName string
Résultat TextureBlender

FromTexture() public static méthode

public static FromTexture ( Texture2D baseTexture ) : TextureBlender
baseTexture UnityEngine.Texture2D
Résultat TextureBlender

GetTexture() public méthode

public GetTexture ( ) : Texture2D
Résultat UnityEngine.Texture2D

TextureBlender() public méthode

public TextureBlender ( Func baseTextureProvider ) : System
baseTextureProvider Func
Résultat System

WithAlphaComponent() public méthode

public WithAlphaComponent ( Texture2D alphaTexture, Point position = null ) : TextureBlender
alphaTexture UnityEngine.Texture2D
position Point
Résultat TextureBlender

WithComponent() public méthode

public WithComponent ( string path, byte alphaLevel = 255, int positionX, bool increaseXOffset = true ) : TextureBlender
path string
alphaLevel byte
positionX int
increaseXOffset bool
Résultat TextureBlender

WithXOffset() public méthode

public WithXOffset ( int xOffset ) : TextureBlender
xOffset int
Résultat TextureBlender