C# 클래스 Transit.Framework.Texturing.TextureHelper

파일 보기 프로젝트 열기: Katalyst6/CSL.TransitAddonMod

공개 메소드들

메소드 설명
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

메소드 상세

AsEditableTexture() 공개 정적인 메소드

public static AsEditableTexture ( this textureBytes, string textureName = null ) : Texture2D
textureBytes this
textureName string
리턴 UnityEngine.Texture2D

AsTexture() 공개 정적인 메소드

public static AsTexture ( this textureBytes, string textureName, TextureType type ) : Texture2D
textureBytes this
textureName string
type TextureType
리턴 UnityEngine.Texture2D

Lerp() 공개 정적인 메소드

public static Lerp ( float baseColorPart, float defaultColorPart, float level ) : float
baseColorPart float
defaultColorPart float
level float
리턴 float

Save() 공개 정적인 메소드

public static Save ( this imageBytes, string path ) : void
imageBytes this
path string
리턴 void