C# 클래스 TextureDrawer, RPGQuest

상속: MonoBehaviour
파일 보기 프로젝트 열기: hughrogers/RPGQuest 1 사용 예제들

공개 메소드들

메소드 설명
AddImageTexture ( Texture2D texture, Rect bounds, SkinBG, bg ) : Texture2D
AddPixels ( Texture2D texture, Color colors, int x, int y, int w, int h ) : Texture2D
AddTexture ( Texture2D texture, Rect bounds, Color colors ) : Texture2D
AddTexture ( Texture2D texture, Rect bounds, Texture2D addTex ) : Texture2D
ClearTexture ( Texture2D texture ) : Texture2D
ColorLerpUnclamped ( Color c1, Color c2, float value ) : Color
Colorize ( Color colors, Color tint ) : Color[]
ColorizeAlphas ( float alphas, Color tint ) : Color[]
CopyTexture ( Texture2D texture ) : Texture2D
DivideAlpha ( Color colors, float alpha ) : Color[]
GetCleanTexture ( int width, int height ) : Texture2D
GetMaskTexture ( int width, int height, Rect maskBounds ) : Texture2D
GetNewTexture ( int width, int height ) : Texture2D
GetNextPowerOfTwo ( float number ) : int
GetNextPowerOfTwo ( int number ) : int
GetPixels ( Texture2D texture, int x, int y, int w, int h ) : Color[]
GetScaledColors ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
GetScaledColorsBilinear ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
GetScaledColorsPoint ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
GetScaledPixels ( Texture2D texture, Rect bounds, ScaleMode, mode ) : Color[]
GetScaledPixels ( Texture2D texture, Vector2 scaledSize, Rect bounds, ScaleMode, mode ) : Color[]
GetScaledPixels ( Texture2D texture, Vector2 size, ScaleMode, mode ) : Color[]
GetScaledPixels ( Texture2D texture, Vector2 scaledSize, Vector2 size, ScaleMode, mode ) : Color[]
GetScaledSize ( Texture2D texture, Rect bounds, ScaleMode, mode ) : Vector2
GetScaledSize ( Texture2D texture, Vector2 size, ScaleMode, mode ) : Vector2
GetSecuredPixels ( Texture2D texture, int x, int y, int width, int height ) : Color[]
MultiplyAlpha ( Color colors, float alpha ) : Color[]
PasteColors ( Color topPixels, Color bottomPixels ) : Color[]
ReplaceColors ( Color colors, Color oldColor, Color newColor ) : Color[]
SetImageTexture ( Texture2D texture, Rect bounds, SkinBG, bg ) : Texture2D
SetPixelColors ( Texture2D texture, Rect bounds, Color c ) : Texture2D
SetPixels ( Texture2D texture, Color colors, Rect bounds ) : Texture2D
SetPixels ( Texture2D texture, Color colors, int x, int y, int w, int h ) : Texture2D
SetPixels ( Texture2D texture, int sx, int sy, Texture2D texture2, int x, int y, int w, int h ) : Texture2D

메소드 상세

AddImageTexture() 공개 정적인 메소드

public static AddImageTexture ( Texture2D texture, Rect bounds, SkinBG, bg ) : Texture2D
texture UnityEngine.Texture2D
bounds Rect
bg SkinBG,
리턴 UnityEngine.Texture2D

AddPixels() 공개 정적인 메소드

public static AddPixels ( Texture2D texture, Color colors, int x, int y, int w, int h ) : Texture2D
texture UnityEngine.Texture2D
colors Color
x int
y int
w int
h int
리턴 UnityEngine.Texture2D

AddTexture() 공개 정적인 메소드

public static AddTexture ( Texture2D texture, Rect bounds, Color colors ) : Texture2D
texture UnityEngine.Texture2D
bounds Rect
colors Color
리턴 UnityEngine.Texture2D

AddTexture() 공개 정적인 메소드

public static AddTexture ( Texture2D texture, Rect bounds, Texture2D addTex ) : Texture2D
texture UnityEngine.Texture2D
bounds Rect
addTex UnityEngine.Texture2D
리턴 UnityEngine.Texture2D

ClearTexture() 공개 정적인 메소드

public static ClearTexture ( Texture2D texture ) : Texture2D
texture UnityEngine.Texture2D
리턴 UnityEngine.Texture2D

ColorLerpUnclamped() 공개 정적인 메소드

public static ColorLerpUnclamped ( Color c1, Color c2, float value ) : Color
c1 Color
c2 Color
value float
리턴 Color

Colorize() 공개 정적인 메소드

public static Colorize ( Color colors, Color tint ) : Color[]
colors Color
tint Color
리턴 Color[]

ColorizeAlphas() 공개 정적인 메소드

public static ColorizeAlphas ( float alphas, Color tint ) : Color[]
alphas float
tint Color
리턴 Color[]

CopyTexture() 공개 정적인 메소드

public static CopyTexture ( Texture2D texture ) : Texture2D
texture UnityEngine.Texture2D
리턴 UnityEngine.Texture2D

DivideAlpha() 공개 정적인 메소드

public static DivideAlpha ( Color colors, float alpha ) : Color[]
colors Color
alpha float
리턴 Color[]

GetCleanTexture() 공개 정적인 메소드

public static GetCleanTexture ( int width, int height ) : Texture2D
width int
height int
리턴 UnityEngine.Texture2D

GetMaskTexture() 공개 정적인 메소드

public static GetMaskTexture ( int width, int height, Rect maskBounds ) : Texture2D
width int
height int
maskBounds Rect
리턴 UnityEngine.Texture2D

GetNewTexture() 공개 정적인 메소드

public static GetNewTexture ( int width, int height ) : Texture2D
width int
height int
리턴 UnityEngine.Texture2D

GetNextPowerOfTwo() 공개 정적인 메소드

public static GetNextPowerOfTwo ( float number ) : int
number float
리턴 int

GetNextPowerOfTwo() 공개 정적인 메소드

public static GetNextPowerOfTwo ( int number ) : int
number int
리턴 int

GetPixels() 공개 정적인 메소드

public static GetPixels ( Texture2D texture, int x, int y, int w, int h ) : Color[]
texture UnityEngine.Texture2D
x int
y int
w int
h int
리턴 Color[]

GetScaledColors() 공개 정적인 메소드

public static GetScaledColors ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
colors Color
oldWidth int
oldHeight int
newWidth int
newHeight int
리턴 Color[]

GetScaledColorsBilinear() 공개 정적인 메소드

public static GetScaledColorsBilinear ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
colors Color
oldWidth int
oldHeight int
newWidth int
newHeight int
리턴 Color[]

GetScaledColorsPoint() 공개 정적인 메소드

public static GetScaledColorsPoint ( Color colors, int oldWidth, int oldHeight, int newWidth, int newHeight ) : Color[]
colors Color
oldWidth int
oldHeight int
newWidth int
newHeight int
리턴 Color[]

GetScaledPixels() 공개 정적인 메소드

public static GetScaledPixels ( Texture2D texture, Rect bounds, ScaleMode, mode ) : Color[]
texture UnityEngine.Texture2D
bounds Rect
mode ScaleMode,
리턴 Color[]

GetScaledPixels() 공개 정적인 메소드

public static GetScaledPixels ( Texture2D texture, Vector2 scaledSize, Rect bounds, ScaleMode, mode ) : Color[]
texture UnityEngine.Texture2D
scaledSize Vector2
bounds Rect
mode ScaleMode,
리턴 Color[]

GetScaledPixels() 공개 정적인 메소드

public static GetScaledPixels ( Texture2D texture, Vector2 size, ScaleMode, mode ) : Color[]
texture UnityEngine.Texture2D
size Vector2
mode ScaleMode,
리턴 Color[]

GetScaledPixels() 공개 정적인 메소드

public static GetScaledPixels ( Texture2D texture, Vector2 scaledSize, Vector2 size, ScaleMode, mode ) : Color[]
texture UnityEngine.Texture2D
scaledSize Vector2
size Vector2
mode ScaleMode,
리턴 Color[]

GetScaledSize() 공개 정적인 메소드

public static GetScaledSize ( Texture2D texture, Rect bounds, ScaleMode, mode ) : Vector2
texture UnityEngine.Texture2D
bounds Rect
mode ScaleMode,
리턴 Vector2

GetScaledSize() 공개 정적인 메소드

public static GetScaledSize ( Texture2D texture, Vector2 size, ScaleMode, mode ) : Vector2
texture UnityEngine.Texture2D
size Vector2
mode ScaleMode,
리턴 Vector2

GetSecuredPixels() 공개 정적인 메소드

public static GetSecuredPixels ( Texture2D texture, int x, int y, int width, int height ) : Color[]
texture UnityEngine.Texture2D
x int
y int
width int
height int
리턴 Color[]

MultiplyAlpha() 공개 정적인 메소드

public static MultiplyAlpha ( Color colors, float alpha ) : Color[]
colors Color
alpha float
리턴 Color[]

PasteColors() 공개 정적인 메소드

public static PasteColors ( Color topPixels, Color bottomPixels ) : Color[]
topPixels Color
bottomPixels Color
리턴 Color[]

ReplaceColors() 공개 정적인 메소드

public static ReplaceColors ( Color colors, Color oldColor, Color newColor ) : Color[]
colors Color
oldColor Color
newColor Color
리턴 Color[]

SetImageTexture() 공개 정적인 메소드

public static SetImageTexture ( Texture2D texture, Rect bounds, SkinBG, bg ) : Texture2D
texture UnityEngine.Texture2D
bounds Rect
bg SkinBG,
리턴 UnityEngine.Texture2D

SetPixelColors() 공개 정적인 메소드

public static SetPixelColors ( Texture2D texture, Rect bounds, Color c ) : Texture2D
texture UnityEngine.Texture2D
bounds Rect
c Color
리턴 UnityEngine.Texture2D

SetPixels() 공개 정적인 메소드

public static SetPixels ( Texture2D texture, Color colors, Rect bounds ) : Texture2D
texture UnityEngine.Texture2D
colors Color
bounds Rect
리턴 UnityEngine.Texture2D

SetPixels() 공개 정적인 메소드

public static SetPixels ( Texture2D texture, Color colors, int x, int y, int w, int h ) : Texture2D
texture UnityEngine.Texture2D
colors Color
x int
y int
w int
h int
리턴 UnityEngine.Texture2D

SetPixels() 공개 정적인 메소드

public static SetPixels ( Texture2D texture, int sx, int sy, Texture2D texture2, int x, int y, int w, int h ) : Texture2D
texture UnityEngine.Texture2D
sx int
sy int
texture2 UnityEngine.Texture2D
x int
y int
w int
h int
리턴 UnityEngine.Texture2D