天空レンダリングエンジン
More...
#include <Sky.hpp>
|
| SIV3D_NODISCARD_CXX20 | Sky (double sphereRadius=8000.0) |
| | 天空レンダリングエンジンを作成します。 More...
|
| |
| void | draw (double exposure=1.0) const |
| | 天空をレンダリングします。 More...
|
| |
|
| ColorF | zenithColor { 0.15, 0.24, 0.56 } |
| | 空のてっぺんの色(リニアカラー) More...
|
| |
| ColorF | horizonColor { 0.3, 0.3, 0.4 } |
| | 地平線の色(リニアカラー) More...
|
| |
| ColorF | cloudColor { 1.0, 1.0, 1.0 } |
| | 雲の色(リニアカラー) More...
|
| |
| double | cloudTime = 0.0 |
| | 雲の移動に使う基準時刻 More...
|
| |
| double | cloudiness = 0.2 |
| | 雲量(快晴 [0.0, 1.0] 曇天) More...
|
| |
| double | cloudScale = 0.5 |
| | 雲のスケール More...
|
| |
| double | cloudPlaneHeight = 1000.0 |
| | 雲の底面の高度 (m) More...
|
| |
| double | cloudOrientation = 0_deg |
| | 雲が流れる方向(北 0_deg, ... 東 90_deg, ...) More...
|
| |
| double | fogHeightSky = 0.0 |
| | フォグの強さ More...
|
| |
| double | starBrightness = 0.0 |
| | 星の可視レベル [0.0, 1.0] More...
|
| |
| double | starBrightnessFactor = 1.0 |
| | 星の光の強さ [0.0, 1.0] More...
|
| |
| double | starSaturation = 0.6 |
| | 星の色味の強さ [0.0, 1.0] More...
|
| |
| Vec3 | starRotationAxis = Vec3{ 0, 0.5, 1 }.normalized() |
| | 天球の回転の軸 More...
|
| |
| double | starTime = 0.0 |
| | 星の移動に使う基準時刻 More...
|
| |
| Vec2 | starOffset { 0.123, 0.456 } |
| | 星のパターンを変えるオフセット More...
|
| |
| bool | sunEnabled = true |
| | 太陽の描画を有効にするか More...
|
| |
| bool | cloudsEnabled = true |
| | 雲の描画を有効にするか More...
|
| |
| bool | cloudsLightingEnabled = true |
| | 太陽の方向に基づく雲のライティングを有効にするか More...
|
| |
◆ Sky()
| SIV3D_NODISCARD_CXX20 s3d::Sky::Sky |
( |
double |
sphereRadius = 8000.0 | ) |
|
|
explicit |
天空レンダリングエンジンを作成します。
- Parameters
-
| sphereRadius | スカイスフィアの半径 (m) |
◆ draw()
| void s3d::Sky::draw |
( |
double |
exposure = 1.0 | ) |
const |
◆ cloudColor
| ColorF s3d::Sky::cloudColor { 1.0, 1.0, 1.0 } |
◆ cloudiness
| double s3d::Sky::cloudiness = 0.2 |
◆ cloudOrientation
| double s3d::Sky::cloudOrientation = 0_deg |
雲が流れる方向(北 0_deg, ... 東 90_deg, ...)
◆ cloudPlaneHeight
| double s3d::Sky::cloudPlaneHeight = 1000.0 |
◆ cloudScale
| double s3d::Sky::cloudScale = 0.5 |
◆ cloudsEnabled
| bool s3d::Sky::cloudsEnabled = true |
◆ cloudsLightingEnabled
| bool s3d::Sky::cloudsLightingEnabled = true |
◆ cloudTime
| double s3d::Sky::cloudTime = 0.0 |
◆ fogHeightSky
| double s3d::Sky::fogHeightSky = 0.0 |
◆ horizonColor
| ColorF s3d::Sky::horizonColor { 0.3, 0.3, 0.4 } |
◆ starBrightness
| double s3d::Sky::starBrightness = 0.0 |
◆ starBrightnessFactor
| double s3d::Sky::starBrightnessFactor = 1.0 |
◆ starOffset
| Vec2 s3d::Sky::starOffset { 0.123, 0.456 } |
◆ starRotationAxis
| Vec3 s3d::Sky::starRotationAxis = Vec3{ 0, 0.5, 1 }.normalized() |
◆ starSaturation
| double s3d::Sky::starSaturation = 0.6 |
◆ starTime
| double s3d::Sky::starTime = 0.0 |
◆ sunEnabled
| bool s3d::Sky::sunEnabled = true |
◆ zenithColor
| ColorF s3d::Sky::zenithColor { 0.15, 0.24, 0.56 } |
The documentation for this class was generated from the following file:
- OpenSiv3D/Siv3D/include/Siv3D/Sky.hpp