28#ifndef __PredefinedControllers_H__
29#define __PredefinedControllers_H__
124 bool scaleU =
false,
bool scaleV =
false,
bool rotate =
false );
Predefined controller function for dealing with animation.
Real calculate(Real source)
Overridden function.
void setSequenceTime(Real seqVal)
Set the sequence duration value manually.
AnimationControllerFunction(Real sequenceTime, Real timeOffset=0.0f)
Constructor.
void setTime(Real timeVal)
Set the time value manually.
Subclasses of this class are responsible for performing a function on an input value for a Controller...
Can either be used as an input or output value.
Predefined controller value for setting a single floating- point value in a constant parameter of a v...
void setValue(Real value)
Real getValue(void) const
~FloatGpuParameterControllerValue()
FloatGpuParameterControllerValue(GpuProgramParametersSharedPtr params, size_t index)
Constructor.
GpuProgramParametersSharedPtr mParams
The parameters to access.
size_t mParamIndex
The index of the parameter to be read or set.
A interface class defining a listener which can be used to receive notifications of frame events.
Predefined controller value for getting the latest frame time.
bool frameStarted(const FrameEvent &evt)
Called when a frame is about to begin rendering.
void setElapsedTime(Real elapsedTime)
bool frameEnded(const FrameEvent &evt)
Called just after a frame has been rendered.
void setTimeFactor(Real tf)
Real getElapsedTime(void) const
void setFrameDelay(Real fd)
Real getValue(void) const
void setValue(Real value)
Real getTimeFactor(void) const
Real getFrameDelay(void) const
FrameTimeControllerValue()
Predefined controller function which just passes through the original source directly to dest.
Real calculate(Real source)
Overridden function.
PassthroughControllerFunction(bool deltaInput=false)
Constructor.
Predefined controller function which simply scales an input to an output value.
ScaleControllerFunction(Real scalefactor, bool deltaInput)
Constructor, requires a scale factor.
Real calculate(Real source)
Overridden method.
Reference-counted shared pointer, used for objects where implicit destruction is required.
Predefined controller value for getting / setting a texture coordinate modifications (scales and tran...
void setValue(Real value)
TextureUnitState * mTextureLayer
Real getValue(void) const
TexCoordModifierControllerValue(TextureUnitState *t, bool translateU=false, bool translateV=false, bool scaleU=false, bool scaleV=false, bool rotate=false)
Constructor.
Predefined controller value for getting / setting the frame number of a texture layer.
Real getValue(void) const
Gets the frame number as a parametric value in the range [0,1].
void setValue(Real value)
Sets the frame number as a parametric value in the range [0,1]; the actual frame number is (value * n...
TextureFrameControllerValue(TextureUnitState *t)
TextureUnitState * mTextureLayer
Class representing the state of a single texture unit during a Pass of a Technique,...
WaveformType
Enumerates the wave types usable with the Ogre engine.
float Real
Software floating point type.
Struct containing information about a frame event.