ランタイム: Mix/Scene/IAtmosphereScatter.h Source File

ランタイム

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

IAtmosphereScatter.h
Go to the documentation of this file.
1 #pragma once
2
5
6 #include "Mix/Scene/IRendererObject.h"
7
8 namespace Mix{ namespace Scene{
9
12 class IAtmosphereScatter : public Mix::Scene::IRendererObject
13 {
14 public:
17 struct DAY_SETTINGS
18 {
19 Float32 sunIntensity;
20 Float32 sunTurbidity;
21 Float32 henyeyGreenstein;
22 Float32 rayleigh;
23 Float32 mie;
24
29 Float32 lin;
30
37 Mix::Vector4 fex;
38 };
39
42 struct NIGHT_SETTINGS
43 {
44 Mix::Vector4 color;
45 Float32 threshold;
46 Float32 offset;
47 };
48
49 protected:
51 virtual ~IAtmosphereScatter( void ) {}
52
53 public:
56 virtual const Mix::Scene::IAtmosphereScatter::DAY_SETTINGS& GetDaySettings( void ) const = 0;
59 virtual void SetDaySettings( const Mix::Scene::IAtmosphereScatter::DAY_SETTINGS& settings ) = 0;
60
63 virtual const Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS& GetNightSettings( void ) const = 0;
66 virtual void SetNightSettings( const Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS& settings ) = 0;
67
70 virtual const Mix::Vector3& GetSunColor( void ) const = 0;
78 virtual const Mix::Vector4& GetSunLightColor( void ) const = 0;
79 };
80
81 }}
Mix::Vector3
3次元浮動小数点ベクトルクラス
Definition: Vector3.h:12
Mix::Scene::IAtmosphereScatter::SetNightSettings
virtual void SetNightSettings(const Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS &settings)=0
夜を設定します
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::henyeyGreenstein
Float32 henyeyGreenstein
HenyeyGreenstein係数( 0.0f〜1.0f )
Definition: IAtmosphereScatter.h:21
Mix::Scene::IAtmosphereScatter
大気スキャッターインターフェース
Definition: IAtmosphereScatter.h:12
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::mie
Float32 mie
Mie係数( 0.0f〜正の無限大 )
Definition: IAtmosphereScatter.h:23
Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS::color
Mix::Vector4 color
夜空の色
Definition: IAtmosphereScatter.h:44
Mix::Scene::IAtmosphereScatter::SetDaySettings
virtual void SetDaySettings(const Mix::Scene::IAtmosphereScatter::DAY_SETTINGS &settings)=0
昼を設定します
Mix::Scene::IAtmosphereScatter::GetSunColor
virtual const Mix::Vector3 & GetSunColor(void) const =0
太陽の色を取得します
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::sunIntensity
Float32 sunIntensity
太陽の強度( 0.0f〜正の無限大 )
Definition: IAtmosphereScatter.h:19
Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS
夜セッティング構造体
Definition: IAtmosphereScatter.h:42
Mix::Scene::IAtmosphereScatter::GetDaySettings
virtual const Mix::Scene::IAtmosphereScatter::DAY_SETTINGS & GetDaySettings(void) const =0
昼の設定を取得します
Mix::Scene::IRendererObject
レンダラーオブジェクトインターフェースインクルードファイル
Definition: IRendererObject.h:12
Mix::Scene::IAtmosphereScatter::~IAtmosphereScatter
virtual ~IAtmosphereScatter(void)
デストラクタ
Definition: IAtmosphereScatter.h:51
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::rayleigh
Float32 rayleigh
Rayleigh係数( 0.0f〜正の無限大 )
Definition: IAtmosphereScatter.h:22
Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS::threshold
Float32 threshold
夜へと変化を始める角度( COS値 )
Definition: IAtmosphereScatter.h:45
Mix::Scene::IAtmosphereScatter::GetSunLightColor
virtual const Mix::Vector4 & GetSunLightColor(void) const =0
太陽による照明の色を取得します
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::lin
Float32 lin
Lin係数( 0.0f〜正の無限大 )
Definition: IAtmosphereScatter.h:29
Mix
ミックス
Definition: AtomicValue.h:6
IRendererObject.h
レンダラーオブジェクトインターフェースインクルードファイル
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::fex
Mix::Vector4 fex
Fex係数( 0.0f〜1.0f )
Definition: IAtmosphereScatter.h:37
Float32
float Float32
32ビット浮動小数点
Definition: Common.h:83
Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS::offset
Float32 offset
夜に変化し終わる threshold からのオフセット( 0.0f 以上 )
Definition: IAtmosphereScatter.h:46
Mix::Vector4
4次元浮動小数点ベクトルクラス
Definition: Vector4.h:12
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS
昼セッティング構造体
Definition: IAtmosphereScatter.h:17
Mix::Scene::IAtmosphereScatter::GetNightSettings
virtual const Mix::Scene::IAtmosphereScatter::NIGHT_SETTINGS & GetNightSettings(void) const =0
夜の設定を取得します
Mix::Scene::IAtmosphereScatter::DAY_SETTINGS::sunTurbidity
Float32 sunTurbidity
太陽の消滅度( 0.0f〜4.0f )
Definition: IAtmosphereScatter.h:20