|
Public Member Functions |
| | fxSunLight () |
| | ~fxSunLight () |
| void | setEnable (bool Status) |
| void | setFlareBitmaps (const char *LocalName, const char *RemoteName) |
| void | setSunAzimuth (F32 Azimuth) |
| void | setSunElevation (F32 Elevation) |
| void | setFlareTP (bool Status) |
| void | setFlareColour (ColorF Colour) |
| void | setFlareBrightness (F32 Brightness) |
| void | setFlareSize (F32 Size) |
| void | setFadeTime (F32 Time) |
| void | setBlendMode (U32 Mode) |
| void | setUseColour (bool Status) |
| void | setUseBrightness (bool Status) |
| void | setUseRotation (bool Status) |
| void | setUseSize (bool Status) |
| void | setUseAzimuth (bool Status) |
| void | setUseElevation (bool Status) |
| void | setLerpColour (bool Status) |
| void | setLerpBrightness (bool Status) |
| void | setLerpRotation (bool Status) |
| void | setLerpSize (bool Status) |
| void | setLerpAzimuth (bool Status) |
| void | setLerpElevation (bool Status) |
| void | setLinkFlareSize (bool Status) |
| void | setSingleColourKeys (bool Status) |
| void | setMinColour (ColorF Colour) |
| void | setMaxColour (ColorF Colour) |
| void | setMinBrightness (F32 Brightness) |
| void | setMaxBrightness (F32 Brightness) |
| void | setMinRotation (F32 Rotation) |
| void | setMaxRotation (F32 Rotation) |
| void | setMinSize (F32 Size) |
| void | setMaxSize (F32 Size) |
| void | setMinAzimuth (F32 Azimuth) |
| void | setMaxAzimuth (F32 Azimuth) |
| void | setMinElevation (F32 Elevation) |
| void | setMaxElevation (F32 Elevation) |
| void | setRedKeys (const char *Keys) |
| void | setGreenKeys (const char *Keys) |
| void | setBlueKeys (const char *Keys) |
| void | setBrightnessKeys (const char *Keys) |
| void | setRotationKeys (const char *Keys) |
| void | setSizeKeys (const char *Keys) |
| void | setAzimuthKeys (const char *Keys) |
| void | setElevationKeys (const char *Keys) |
| void | setColourTime (F32 Time) |
| void | setBrightnessTime (F32 Time) |
| void | setRotationTime (F32 Time) |
| void | setSizeTime (F32 Time) |
| void | setAzimuthTime (F32 Time) |
| void | setElevationTime (F32 Time) |
| void | reset (void) |
| bool | prepRenderImage (SceneState *state, const U32 stateKey, const U32 startZone, const bool modifyBaseZoneState) |
| | Called when the SceneGraph is ready for the registration of RenderImages.
|
| void | renderObject (SceneState *state, SceneRenderImage *image) |
| | Called when the object is supposed to render itself.
|
| bool | onAdd () |
| | Called when the object is added to the sim.
|
| void | onRemove () |
| | Called when the object is removed from the sim.
|
| void | inspectPostApply () |
| | Called after any property of the object is changed in the world editor.
|
| U32 | packUpdate (NetConnection *conn, U32 mask, BitStream *stream) |
| | Instructs this object to pack its state for transfer over the network.
|
| void | unpackUpdate (NetConnection *conn, BitStream *stream) |
| | Instructs this object to read state data previously packed with packUpdate.
|
| | DECLARE_CONOBJECT (fxSunLight) |
Static Public Member Functions |
| static void | initPersistFields () |
| | Register dynamic fields in a subclass of ConsoleObject.
|
Data Fields |
| bool | mDoneSunLock |
| bool | mEnable |
| StringTableEntry | mLocalFlareTextureName |
| StringTableEntry | mRemoteFlareTextureName |
| F32 | mSunAzimuth |
| F32 | mSunElevation |
| bool | mLockToRealSun |
| bool | mFlareTP |
| ColorF | mFlareColour |
| F32 | mFlareBrightness |
| F32 | mFlareSize |
| F32 | mFadeTime |
| U32 | mBlendMode |
| bool | mUseColour |
| bool | mUseBrightness |
| bool | mUseRotation |
| bool | mUseSize |
| bool | mUseAzimuth |
| bool | mUseElevation |
| bool | mLerpColour |
| bool | mLerpBrightness |
| bool | mLerpRotation |
| bool | mLerpSize |
| bool | mLerpAzimuth |
| bool | mLerpElevation |
| bool | mLinkFlareSize |
| bool | mSingleColourKeys |
| ColorF | mMinColour |
| ColorF | mMaxColour |
| F32 | mMinBrightness |
| F32 | mMaxBrightness |
| F32 | mMinRotation |
| F32 | mMaxRotation |
| F32 | mMinSize |
| F32 | mMaxSize |
| F32 | mMinAzimuth |
| F32 | mMaxAzimuth |
| F32 | mMinElevation |
| F32 | mMaxElevation |
| StringTableEntry | mRedKeys |
| StringTableEntry | mGreenKeys |
| StringTableEntry | mBlueKeys |
| StringTableEntry | mBrightnessKeys |
| StringTableEntry | mRotationKeys |
| StringTableEntry | mSizeKeys |
| StringTableEntry | mAzimuthKeys |
| StringTableEntry | mElevationKeys |
| F32 | mColourTime |
| F32 | mBrightnessTime |
| F32 | mRotationTime |
| F32 | mSizeTime |
| F32 | mAzimuthTime |
| F32 | mElevationTime |
| ColorF | mAnimationColour |
| F32 | mAnimationBrightness |
| F32 | mAnimationRotation |
| F32 | mAnimationSize |
| F32 | mAnimationAzimuth |
| F32 | mAnimationElevation |
| F32 | mColourElapsedTime |
| F32 | mBrightnessElapsedTime |
| F32 | mRotationElapsedTime |
| F32 | mSizeElapsedTime |
| F32 | mAzimuthElapsedTime |
| F32 | mElevationElapsedTime |
| F32 | mColourTimeScale |
| F32 | mBrightnessTimeScale |
| F32 | mRotationTimeScale |
| F32 | mSizeTimeScale |
| F32 | mAzimuthTimeScale |
| F32 | mElevationTimeScale |
| U32 | mRedKeysLength |
| U32 | mGreenKeysLength |
| U32 | mBlueKeysLength |
| U32 | mBrightnessKeysLength |
| U32 | mRotationKeysLength |
| U32 | mSizeKeysLength |
| U32 | mAzimuthKeysLength |
| U32 | mElevationKeysLength |
Protected Types |
| enum | { fxSunLightConfigChangeMask = BIT(0)
} |
Protected Attributes |
| bool | mAddedToScene |
| MRandomLCG | RandomGen |
| TextureHandle | mLocalFlareTextureHandle |
| TextureHandle | mRemoteFlareTextureHandle |
| F32 | mElapsedTime |
| S32 | mLastRenderTime |
| F32 | mLocalFlareScale |
| Point3F | mSunlightPosition |
Private Types |
| typedef SceneObject | Parent |
Private Member Functions |
| U32 | CheckKeySyntax (StringTableEntry Key) |
| void | CheckAnimationKeys (void) |
| F32 | GetLerpKey (StringTableEntry Key, U32 PosFrom, U32 PosTo, F32 ValueFrom, F32 ValueTo, F32 Lerp) |
| void | AnimateSun (F32 ElapsedTime) |
| void | InitialiseAnimation (void) |
| void | ResetAnimation (void) |
| bool | TestLOS (const Point3F &Pos) |