C# 클래스 DeferredDemo.Sky

상속: GameService
파일 보기 프로젝트 열기: demiurghg/FusionEngine

Private Properties

프로퍼티 타입 설명
ApplyColorSpace void
EnumFunc void
LoadContent void
SunColor Color4
YxyToRGB System.Vector3
acos float
dot float
dot float
exp float
perezFunc System.Vector3
perezSky System.Vector3
perezSky System.Vector3
perezSun System.Vector3
perezZenith System.Vector3
tan float

공개 메소드들

메소드 설명
GetAmbientLevel ( ) : Color4

Gets average sky color.

GetSunDirection ( ) : System.Vector3

Gets current Sun direction.

GetSunGlowColor ( ) : Color4

Gets Sun color.

GetSunLightColor ( ) : Color4

Gets Sun color.

Initialize ( ) : void

Render ( Fusion.GameTime gameTime, Fusion.Graphics.DepthStencilSurface depthBuffer, Fusion.Graphics.RenderTargetSurface hdrTarget, System.Matrix view, System.Matrix projection ) : void

Renders sky with specified technique

RenderFogTable ( ) : void

Renders fog look-up table

Sky ( Game game ) : System

Constructor

Update ( Fusion.GameTime gameTime ) : void

Does nothing

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
ApplyColorSpace ( SkyFlags &flags ) : void
EnumFunc ( Fusion.Graphics.PipelineState ps, SkyFlags flags ) : void

LoadContent ( ) : void

SunColor ( System.Vector3 dir ) : Color4
YxyToRGB ( System.Vector3 Yxy ) : System.Vector3
acos ( float x ) : float
dot ( System.Vector3 a, System.Vector3 b ) : float
dot ( System.Vector4 a, System.Vector4 b ) : float
exp ( float x ) : float
perezFunc ( float t, float cosTheta, float cosGamma ) : System.Vector3
perezSky ( float t, System.Vector3 viewDir, System.Vector3 sunDir ) : System.Vector3

perezSky ( float t, float cosTheta, float cosGamma, float cosThetaSun ) : System.Vector3

perezSun ( float t, float cosThetaSun, float boost = 100 ) : System.Vector3
perezZenith ( float t, float thetaSun ) : System.Vector3
tan ( float x ) : float

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetAmbientLevel() 공개 메소드

Gets average sky color.
public GetAmbientLevel ( ) : Color4
리턴 Color4

GetSunDirection() 공개 메소드

Gets current Sun direction.
public GetSunDirection ( ) : System.Vector3
리턴 System.Vector3

GetSunGlowColor() 공개 메소드

Gets Sun color.
public GetSunGlowColor ( ) : Color4
리턴 Color4

GetSunLightColor() 공개 메소드

Gets Sun color.
public GetSunLightColor ( ) : Color4
리턴 Color4

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

Render() 공개 메소드

Renders sky with specified technique
public Render ( Fusion.GameTime gameTime, Fusion.Graphics.DepthStencilSurface depthBuffer, Fusion.Graphics.RenderTargetSurface hdrTarget, System.Matrix view, System.Matrix projection ) : void
gameTime Fusion.GameTime
depthBuffer Fusion.Graphics.DepthStencilSurface
hdrTarget Fusion.Graphics.RenderTargetSurface
view System.Matrix
projection System.Matrix
리턴 void

RenderFogTable() 공개 메소드

Renders fog look-up table
public RenderFogTable ( ) : void
리턴 void

Sky() 공개 메소드

Constructor
public Sky ( Game game ) : System
game Game
리턴 System

Update() 공개 메소드

Does nothing
public Update ( Fusion.GameTime gameTime ) : void
gameTime Fusion.GameTime
리턴 void