Controls a suns object position, size, lighting, and colors.
More...
|
static readonly float | _SUN_ILLUSION_MULTIPLIER = 2.0f |
|
static readonly float | _CELESTIAL_DISTANCE = 900f |
|
|
Vector3 | SunDirection [get, set] |
|
float | SunAngle [get, set] |
|
float | SunSetStartAngle [get, set] |
|
float | SunSetStopAngle [get, set] |
|
Color | Color [get, set] |
|
float | Size [get, set] |
|
Vector3 | Position [get] |
|
Color | Color [get, set] |
|
float | Size [get, set] |
|
Vector3 | Position [get] |
|
Color | Color [get, set] |
|
Vector3 | Position [get] |
|
Vector3 | SunDirection [get, set] |
|
float | SunAngle [get, set] |
|
float | SunSetStartAngle [get, set] |
|
float | SunSetStopAngle [get, set] |
|
|
GameObject | _gameObject = null |
|
Color | _color |
|
float | _size |
|
Vector3 | _position |
|
string | _name |
|
IParticleSystemGenerator | _generator = null |
|
Controls a suns object position, size, lighting, and colors.
override Vector3 BlueSkies.Sun.getPosition |
( |
| ) |
|
|
protectedvirtual |
override bool BlueSkies.Sun.initialize |
( |
string |
prefab | ) |
|
Base initialization of sun bject
- Returns
- TRUE if successfully initialized
- Parameters
-
[in] | prefab | String location of prefab |
Implements BlueSkies.ISun.
override void BlueSkies.Sun.update |
( |
| ) |
|
override void BlueSkies.Sun.updateColor |
( |
| ) |
|
|
protectedvirtual |
override void BlueSkies.Sun.updateLighting |
( |
| ) |
|
|
protectedvirtual |
override void BlueSkies.Sun.updateSize |
( |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following file:
- C:/code/BlueSkies/Unity/Assets/BlueSkies/Scripts/Sky/Sun.cs