C# 클래스 FSO.LotView.Components.TerrainComponent

상속: WorldComponent
파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DepthMode bool
DrawGrid bool

공개 메소드들

메소드 설명
Draw ( GraphicsDevice device, WorldState world ) : void

Render the terrain

GenerateGrassStates ( ) : void
Initialize ( GraphicsDevice device, WorldState world ) : void

Setup component to run on graphics device

RegenTerrain ( GraphicsDevice device, WorldState world, Blueprint blueprint ) : void
TerrainComponent ( Rectangle size ) : System
UpdateLotType ( ) : void

메소드 상세

Draw() 공개 메소드

Render the terrain
public Draw ( GraphicsDevice device, WorldState world ) : void
device GraphicsDevice
world WorldState
리턴 void

GenerateGrassStates() 공개 메소드

public GenerateGrassStates ( ) : void
리턴 void

Initialize() 공개 메소드

Setup component to run on graphics device
public Initialize ( GraphicsDevice device, WorldState world ) : void
device GraphicsDevice
world WorldState
리턴 void

RegenTerrain() 공개 메소드

public RegenTerrain ( GraphicsDevice device, WorldState world, Blueprint blueprint ) : void
device GraphicsDevice
world WorldState
blueprint Blueprint
리턴 void

TerrainComponent() 공개 메소드

public TerrainComponent ( Rectangle size ) : System
size Microsoft.Xna.Framework.Rectangle
리턴 System

UpdateLotType() 공개 메소드

public UpdateLotType ( ) : void
리턴 void

프로퍼티 상세

DepthMode 공개적으로 프로퍼티

public bool DepthMode
리턴 bool

DrawGrid 공개적으로 프로퍼티

public bool DrawGrid
리턴 bool