C# 클래스 Fusion.Engine.Graphics.SkyModel

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

공개 메소드들

메소드 설명
YxyToRGB ( System.Vector3 Yxy ) : System.Vector3
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

비공개 메소드들

메소드 설명
acos ( float x ) : float
dot ( System.Vector3 a, System.Vector3 b ) : float
dot ( System.Vector4 a, System.Vector4 b ) : float
exp ( float x ) : float
perezZenith ( float t, float thetaSun ) : System.Vector3
tan ( float x ) : float

메소드 상세

YxyToRGB() 공개 정적인 메소드

public static YxyToRGB ( System.Vector3 Yxy ) : System.Vector3
Yxy System.Vector3
리턴 System.Vector3

perezFunc() 공개 정적인 메소드

public static perezFunc ( float t, float cosTheta, float cosGamma ) : System.Vector3
t float
cosTheta float
cosGamma float
리턴 System.Vector3

perezSky() 공개 정적인 메소드

public static perezSky ( float t, System.Vector3 viewDir, System.Vector3 sunDir ) : System.Vector3
t float Turbidity
viewDir System.Vector3 Normalized (!) view direction
sunDir System.Vector3 Normalized (!) sun direction
리턴 System.Vector3

perezSky() 공개 정적인 메소드

public static perezSky ( float t, float cosTheta, float cosGamma, float cosThetaSun ) : System.Vector3
t float Turbidity
cosTheta float cosine of view angle
cosGamma float cosine of angle between view dir and sun dir
cosThetaSun float cosine of sun angle
리턴 System.Vector3

perezSun() 공개 정적인 메소드

public static perezSun ( float t, float cosThetaSun, float boost = 100 ) : System.Vector3
t float
cosThetaSun float
boost float
리턴 System.Vector3