C# 클래스 Terraria.GameContent.Liquid.ReplacementLiquidRenderer

파일 보기 프로젝트 열기: RomSteady/RomTerraria 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Instance ReplacementLiquidRenderer

공개 메소드들

메소드 설명
Draw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float alpha, bool isBackgroundDraw ) : void
GetCachedDrawArea ( ) : Rectangle
GetVisibleLiquid ( int x, int y ) : float
HasFullWater ( int x, int y ) : bool
PrepareDraw ( Rectangle drawArea ) : void
SetWaveMaskData ( Texture2D texture ) : void
Update ( GameTime gameTime ) : void

비공개 메소드들

메소드 설명
InternalDraw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float globalAlpha, bool isBackgroundDraw ) : void
InternalPrepareDraw ( Rectangle drawArea ) : void
ReplacementLiquidRenderer ( ) : System

메소드 상세

Draw() 공개 메소드

public Draw ( SpriteBatch spriteBatch, Vector2 drawOffset, int waterStyle, float alpha, bool isBackgroundDraw ) : void
spriteBatch SpriteBatch
drawOffset Vector2
waterStyle int
alpha float
isBackgroundDraw bool
리턴 void

GetCachedDrawArea() 공개 메소드

public GetCachedDrawArea ( ) : Rectangle
리턴 Microsoft.Xna.Framework.Rectangle

GetVisibleLiquid() 공개 메소드

public GetVisibleLiquid ( int x, int y ) : float
x int
y int
리턴 float

HasFullWater() 공개 메소드

public HasFullWater ( int x, int y ) : bool
x int
y int
리턴 bool

PrepareDraw() 공개 메소드

public PrepareDraw ( Rectangle drawArea ) : void
drawArea Microsoft.Xna.Framework.Rectangle
리턴 void

SetWaveMaskData() 공개 메소드

public SetWaveMaskData ( Texture2D texture ) : void
texture Texture2D
리턴 void

Update() 공개 메소드

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

프로퍼티 상세

Instance 공개적으로 정적으로 프로퍼티

public static ReplacementLiquidRenderer,Terraria.GameContent.Liquid Instance
리턴 ReplacementLiquidRenderer