Method | Description | |
---|---|---|
CreateController ( IControllerValue |
Overloaded method. Creates a new controller, using a reference to a FrameTimeControllerValue as the source.
|
|
CreateController ( IControllerValue |
Factory method for creating an instance of a controller based on the input provided.
|
|
CreateFrameTimePassthroughController ( IControllerValue |
||
CreateGpuProgramTimerParam ( |
Predefined controller value for setting a single floating- point value in a constant paramter of a vertex or fragment program. Any value is accepted, it is propagated into the 'x' component of the constant register identified by the index. If you need to use named parameters, retrieve the index from the param object before setting this controller up. |
|
CreateTextureAnimator ( |
Creates a texture layer animator controller. This helper method creates the Controller, IControllerValue and IControllerFunction classes required to animate a texture. |
|
CreateTextureRotator ( |
Creates a basic time-based texture coordinate modifier designed for creating rotating textures. This simple method allows you to easily create constant-speed rotating textures. If you want more control, look up the ControllerManager.CreateTextureWaveTransformer for more complex wave-based scrollers / stretchers / rotaters. |
|
CreateTextureUScroller ( |
Creates a basic time-based texture u coordinate modifier designed for creating scrolling textures. This simple method allows you to easily create constant-speed scrolling textures. If you want more control, look up the CreateTextureWaveTransformer for more complex wave-based scrollers / stretchers / rotaters. |
|
CreateTextureUVScroller ( |
Creates a basic time-based texture uv coordinate modifier designed for creating scrolling textures. This simple method allows you to easily create constant-speed scrolling textures. If you want to specify differnt speed values for horizontil and vertical scroll, use the specific methods CreateTextureUScroller and CreateTextureVScroller. If you want more control, look up the CreateTextureWaveTransformer for more complex wave-based scrollers / stretchers / rotaters. |
|
CreateTextureVScroller ( |
Creates a basic time-based texture v coordinate modifier designed for creating scrolling textures. This simple method allows you to easily create constant-speed scrolling textures. If you want more control, look up the CreateTextureWaveTransformer for more complex wave-based scrollers / stretchers / rotaters. |
|
CreateTextureWaveTransformer ( |
Creates a very flexible time-based texture transformation which can alter the scale, position or rotation of a texture based on a wave function.
|
|
DestroyController ( Controller |
||
GetElapsedTime ( ) : float | ||
UpdateAll ( ) : void |
Causes all registered controllers to execute. This will depend on RenderSystem.BeginScene already being called so that the time since last frame can be obtained for calculations.
|
Method | Description | |
---|---|---|
dispose ( bool disposeManagedResources ) : void |
Called when the engine is shutting down.
|
Method | Description | |
---|---|---|
ControllerManager ( ) : System |
Internal constructor. This class cannot be instantiated externally.
|
public CreateController ( IControllerValue |
||
destination | IControllerValue |
Controller value to use as the destination. |
function | IControllerFunction |
Controller funcion that will use the source value to set the destination. |
return | Controller |
public CreateController ( IControllerValue |
||
source | IControllerValue |
Controller value to use as the source. |
destination | IControllerValue |
Controller value to use as the destination. |
function | IControllerFunction |
Controller funcion that will use the source value to set the destination. |
return | Controller |
public CreateFrameTimePassthroughController ( IControllerValue |
||
dest | IControllerValue |
|
return | Controller |
public CreateGpuProgramTimerParam ( |
||
parms | ||
index | int | |
timeFactor | float | |
return | Controller |
public CreateTextureAnimator ( |
||
texUnit | The texture unit to animate. | |
sequenceTime | float | Length of the animation (in seconds). |
return | Controller |
public CreateTextureRotator ( |
||
layer | The texture unit to animate. | |
speed | float | Speed of the rotation, in counter-clockwise revolutions per second. |
return | Controller |
public CreateTextureUScroller ( |
||
layer | The texture unit to animate. | |
speed | float | speed, in wraps per second. |
return | Controller |
public CreateTextureUVScroller ( |
||
layer | The texture unit to animate. | |
speed | float | speed, in wraps per second. |
return | Controller |
public CreateTextureVScroller ( |
||
layer | The texture unit to animate. | |
speed | float | speed, in wraps per second. |
return | Controller |
public CreateTextureWaveTransformer ( |
||
layer | The texture unit to effect. | |
type | TextureTransform | The type of transform, either translate (scroll), scale (stretch) or rotate (spin). |
waveType | WaveformType | The shape of the wave, see WaveformType enum for details. |
baseVal | float | The base value of the output. |
frequency | float | The speed of the wave in cycles per second. |
phase | float | The offset of the start of the wave, e.g. 0.5 to start half-way through the wave. |
amplitude | float | Scales the output so that instead of lying within 0..1 it lies within 0..(1 * amplitude) for exaggerated effects |
return | Controller |
public DestroyController ( Controller |
||
controller | Controller |
|
return | void |
protected dispose ( bool disposeManagedResources ) : void | ||
disposeManagedResources | bool | |
return | void |