Interface to the Time Of Day functionality. More...
#include
Public Member Functions | |
virtual int | GetPresetCount () const =0 |
virtual bool | GetPresetsInfos (SPresetInfo *resultArray, unsigned int arraySize) const =0 |
virtual bool | SetCurrentPreset (const char *szPresetName)=0 |
virtual const char * | GetCurrentPresetName () const =0 |
virtual bool | AddNewPreset (const char *szPresetName)=0 |
virtual bool | RemovePreset (const char *szPresetName)=0 |
virtual bool | SavePreset (const char *szPresetName) const =0 |
virtual bool | LoadPreset (const char *szFilePath)=0 |
virtual void | ResetPreset (const char *szPresetName)=0 |
virtual bool | ImportPreset (const char *szPresetName, const char *szFilePath)=0 |
virtual bool | ExportPreset (const char *szPresetName, const char *szFilePath) const =0 |
virtual int | GetVariableCount ()=0 |
Access to variables that control time of the day appearance. | |
virtual bool | GetVariableInfo (int nIndex, SVariableInfo &varInfo)=0 |
virtual void | SetVariableValue (int nIndex, float fValue[3])=0 |
virtual bool | InterpolateVarInRange (int nIndex, float fMin, float fMax, unsigned int nCount, Vec3 *resultArray) const =0 |
Editor interface. | |
virtual uint | GetSplineKeysCount (int nIndex, int nSpline) const =0 |
virtual bool | GetSplineKeysForVar (int nIndex, int nSpline, SBezierKey *keysArray, unsigned int keysArraySize) const =0 |
virtual bool | SetSplineKeysForVar (int nIndex, int nSpline, const SBezierKey *keysArray, unsigned int keysArraySize)=0 |
virtual bool | UpdateSplineKeyForVar (int nIndex, int nSpline, float fTime, float newValue)=0 |
virtual float | GetAnimTimeSecondsIn24h ()=0 |
virtual void | ResetVariables ()=0 |
virtual void | SetTime (float fHour, bool bForceUpdate=false)=0 |
Sets the time of the day specified in hours. | |
virtual float | GetTime ()=0 |
virtual void | SetSunPos (float longitude, float latitude)=0 |
Sun position. | |
virtual float | GetSunLatitude ()=0 |
virtual float | GetSunLongitude ()=0 |
virtual void | Tick ()=0 |
Updates the current ToD. | |
virtual void | SetPaused (bool paused)=0 |
virtual void | SetAdvancedInfo (const SAdvancedInfo &advInfo)=0 |
virtual void | GetAdvancedInfo (SAdvancedInfo &advInfo)=0 |
virtual void | Update (bool bInterpolate=true, bool bForceUpdate=false)=0 |
Updates engine parameters after variable values have been changed. | |
virtual void | BeginEditMode ()=0 |
virtual void | EndEditMode ()=0 |
virtual void | Serialize (XmlNodeRef &node, bool bLoading)=0 |
virtual void | Serialize (TSerialize ser)=0 |
virtual void | SetTimer (ITimer *pTimer)=0 |
virtual void | SetEnvironmentSettings (const SEnvironmentInfo &envInfo)=0 |
virtual void | NetSerialize (TSerialize ser, float lag, uint32 flags)=0 |
virtual void | SaveInternalState (struct IDataWriteStream &writer)=0 |
LiveCreate. | |
virtual void | LoadInternalState (struct IDataReadStream &reader)=0 |
bool | RegisterListener (IListener *const pListener) |
Listener registration. | |
bool | RegisterListener (IListener *const pListener, const char *const szDbgName, const bool staticName) |
void | UnRegisterListener (IListener *const pListener) |
Static Public Attributes | |
static const int | NETSER_FORCESET = BIT(0) |
Multiplayer serialization. | |
static const int | NETSER_COMPENSATELAG = BIT(1) |
static const int | NETSER_STATICPROPS = BIT(2) |
Interface to the Time Of Day functionality.