torque Torque Game Engine Documentation
TGE Version 1.5.2

GuiVectorFieldCtrl Class Reference

#include <guiTransitionCtrl.h>

Inheritance diagram for GuiVectorFieldCtrl:

Inheritance graph
[legend]

Public Member Functions

 GuiVectorFieldCtrl ()
 ~GuiVectorFieldCtrl ()
virtual void resize (const Point2I &newPosition, const Point2I &newExtent)
 Changes the size and/or position of this control.
virtual void onRender (Point2I offset, const RectI &updateRect)
 Called when this control is to render itself.
 DECLARE_CONOBJECT (GuiVectorFieldCtrl)

Protected Member Functions

virtual void interpolateTick (F32 delta)
 This method is called every frame and lets the control interpolate between ticks so you can smooth things as long as isProcessingTicks returns true when it is called on the object.
virtual void advanceTime (F32 timeDelta)
 This method is called once every frame regardless of the return value of isProcessingTicks and informs the object of the passage of time.
virtual void processTick ()
 This method is called once every 32ms if isProcessingTicks returns true when called on the object.
virtual bool onAdd (void)
 Called when this object is added to the scene.
virtual void onRemove (void)
 Called when this object is removed.

Private Types

typedef GuiTickCtrl Parent

Private Attributes

VectorFieldmVectorField
DynamicTexture mFeedbackTexture
ColorF mClearColor
TextureHandle * mTestTexture

Member Typedef Documentation

Reimplemented from GuiTickCtrl.


Constructor & Destructor Documentation

GuiVectorFieldCtrl::GuiVectorFieldCtrl (  ) 

GuiVectorFieldCtrl::~GuiVectorFieldCtrl (  ) 


Member Function Documentation

virtual void GuiVectorFieldCtrl::interpolateTick ( F32  delta  )  [inline, protected, virtual]

This method is called every frame and lets the control interpolate between ticks so you can smooth things as long as isProcessingTicks returns true when it is called on the object.

Reimplemented from GuiTickCtrl.

virtual void GuiVectorFieldCtrl::advanceTime ( F32  timeDelta  )  [inline, protected, virtual]

This method is called once every frame regardless of the return value of isProcessingTicks and informs the object of the passage of time.

Reimplemented from GuiTickCtrl.

virtual void GuiVectorFieldCtrl::processTick (  )  [protected, virtual]

This method is called once every 32ms if isProcessingTicks returns true when called on the object.

Reimplemented from GuiTickCtrl.

virtual bool GuiVectorFieldCtrl::onAdd ( void   )  [protected, virtual]

Called when this object is added to the scene.

Reimplemented from GuiControl.

virtual void GuiVectorFieldCtrl::onRemove ( void   )  [protected, virtual]

Called when this object is removed.

Reimplemented from GuiControl.

virtual void GuiVectorFieldCtrl::resize ( const Point2I newPosition,
const Point2I newExtent 
) [virtual]

Changes the size and/or position of this control.

Parameters:
newPosition New position of this control
newExtent New size of this control

Reimplemented from GuiControl.

virtual void GuiVectorFieldCtrl::onRender ( Point2I  offset,
const RectI updateRect 
) [virtual]

Called when this control is to render itself.

Parameters:
offset The location this control is to begin rendering
updateRect The screen area this control has drawing access to

Reimplemented from GuiControl.

GuiVectorFieldCtrl::DECLARE_CONOBJECT ( GuiVectorFieldCtrl   ) 


Field Documentation

TextureHandle* GuiVectorFieldCtrl::mTestTexture [private]




All Rights Reserved GarageGames.com, Inc. 1999-2005
Auto-magically Generated with Doxygen