Public Types | |
enum | EasingType { PennerInOutBack, Linear, SmoothStep } |
Public Member Functions | |
EnvironmentFlatteningService (const EnvironmentFlatteningConfiguration &config) | |
void | ToggleFlattened () |
void | Update (float dt) |
void | SetIsFlattened (bool isFlattened) |
bool | IsFlattened () const |
float | GetCurrentScale () const |
float | GetFlattenedScale () const |
void | InsertChangedCallback (Eegeo::Helpers::ICallback0 &callback) |
void | RemoveChangedCallback (Eegeo::Helpers::ICallback0 &callback) |
void | SetCurrentScale (float scale) |
deprecated, in future will only allow mutation through SetIsFlattened | |
void | SetEasingType (EasingType easingType) |
deprecated, configure on construction instead | |
void | SetEaseDuration (float easeDurationSeconds) |
deprecated, configure on construction instead | |
void | SetFlattenedScale (float scaleWhenFlattened) |
deprecated, configure on construction instead | |
Static Public Member Functions | |
static dv3 | GetScaledPointEcef (const dv3 &pointEcef, float environmentScale) |
static dv3 | GetScaledPointAboveGroundEcef (const dv3 &pointEcef, float heightAboveGround, float environmentScale) |
Static Public Attributes | |
static const float | DefaultNormalScale = 1.0f |
static const float | DefaultEaseDurationSeconds = 1.2f |
deprecated, no longer referenced in platform code | |
static const float | DefaultFlatScale = 0.2f |
deprecated, no longer referenced in platform code | |
Additional Inherited Members | |
Private Member Functions inherited from Eegeo::NonCopyable | |
NonCopyable (const NonCopyable &)=delete | |
NonCopyable & | operator= (const NonCopyable &)=delete |
deprecated, retained only to support method SetEasingType use Eegeo::Rendering::EnvironmentFlatteningEasing::Type instead