#include <Snow.h>
Inherits SubsystemInterface.
Inherited by W3DSnowManager.
Definition at line 83 of file Snow.h.
◆ anonymous enum
| Enumerator |
|---|
| SNOW_NOISE_X | |
| SNOW_NOISE_Y | |
Definition at line 86 of file Snow.h.
◆ SnowManager()
| SnowManager::SnowManager |
( |
void | | ) |
|
◆ ~SnowManager()
| SnowManager::~SnowManager |
( |
void | | ) |
|
◆ init()
| void SnowManager::init |
( |
void | | ) |
|
|
virtual |
- Assign any default values to data required for the class
- Allocate any memory and resources needed throughout the lifetime of the class
Implements SubsystemInterface.
Reimplemented in W3DSnowManager.
Definition at line 49 of file Snow.cpp.
◆ reset()
| void SnowManager::reset |
( |
void | | ) |
|
|
virtual |
- Any system should be able to reset all data and go back to an empty state that is ready to accept a completely new set of data. Reset() can expect to be used in the context of resetting the engine in order to start or load a new game.
- Do NOT free and re-allocate resources needed, where possible reorganize and re-initialize the resources already allocated.
- After a reset, the system does not need to be in EXACTLY the same state as a fresh instantiation. If there are persistent state information for the system make sure you maintain it while restoring or re-initializing other transient parts.
Implements SubsystemInterface.
Reimplemented in W3DSnowManager.
Definition at line 93 of file Snow.cpp.
◆ setVisible()
| void SnowManager::setVisible |
( |
Bool | showWeather | ) |
|
enable/disable rendering of weather - assuming it's available on map.
Definition at line 88 of file Snow.cpp.
◆ updateIniSettings()
| void SnowManager::updateIniSettings |
( |
void | | ) |
|
|
virtual |
◆ m_amplitude
| Real SnowManager::m_amplitude |
|
protected |
used to adjust amount of of snow movement.
Definition at line 107 of file Snow.h.
◆ m_boxDimensions
| Real SnowManager::m_boxDimensions |
|
protected |
used to set dimensions of box surrounding camera.
Definition at line 112 of file Snow.h.
◆ m_emitterSpacing
| Real SnowManager::m_emitterSpacing |
|
protected |
used to control how many emitters are present per world unit
Definition at line 113 of file Snow.h.
◆ m_frequencyScaleX
| Real SnowManager::m_frequencyScaleX |
|
protected |
used to adjust snow position.
Definition at line 105 of file Snow.h.
◆ m_frequencyScaleY
| Real SnowManager::m_frequencyScaleY |
|
protected |
used to adjust snow position.
Definition at line 106 of file Snow.h.
◆ m_fullTimePeriod
| Real SnowManager::m_fullTimePeriod |
|
protected |
time for snow to complete a full animation cycle.
Definition at line 104 of file Snow.h.
◆ m_isVisible
| Bool SnowManager::m_isVisible |
|
protected |
used to prevent map weather (if defined) from rendering.
Definition at line 114 of file Snow.h.
◆ m_maxPointSize
| Real SnowManager::m_maxPointSize |
|
protected |
used to control maximum pixel size of sprites.
Definition at line 109 of file Snow.h.
◆ m_minPointSize
| Real SnowManager::m_minPointSize |
|
protected |
used to control minimum pixel size of sprites.
Definition at line 110 of file Snow.h.
◆ m_pointSize
| Real SnowManager::m_pointSize |
|
protected |
used to control hardware point-sprite size.
Definition at line 108 of file Snow.h.
◆ m_quadSize
| Real SnowManager::m_quadSize |
|
protected |
used to control quad size when no hardware point sprites.
Definition at line 111 of file Snow.h.
◆ m_startingHeights
| Real* SnowManager::m_startingHeights |
|
protected |
◆ m_time
time elapsed since it started snowing.
Definition at line 102 of file Snow.h.
◆ m_velocity
| Real SnowManager::m_velocity |
|
protected |
positive velocity of falling snow
Definition at line 103 of file Snow.h.
The documentation for this class was generated from the following files:
- Code/GameEngine/Include/GameClient/Snow.h
- Code/GameEngine/Source/GameClient/Snow.cpp