newspeoplefor developersdocumentationdownloads

nFloatAnimator Class Reference
[Scene System]

#include <nfloatanimator.h>

Inheritance diagram for nFloatAnimator:

nShaderAnimator nAnimator nSceneNode nRoot nObject nNode nReferenced nSignalEmitter List of all members.

Detailed Description

Animates a float attribute of a nAbstractShaderNode.

(C) 2005 Radon Labs GmbH

Definition at line 16 of file nfloatanimator.h.


Public Member Functions

 nFloatAnimator ()
 constructor
virtual ~nFloatAnimator ()
 destructor
virtual bool SaveCmds (nPersistServer *ps)
 save object to persistency stream
virtual void Animate (nSceneNode *sceneNode, nRenderContext *renderContext)
 called by scene node objects which wish to be animated by this object
void AddKey (float time, float key)
 add a key
int GetNumKeys () const
 get number of keys
void GetKeyAt (int index, float &time, float &key) const
 get key at

Constructor & Destructor Documentation

nFloatAnimator::nFloatAnimator  ) 
 

constructor

Definition at line 14 of file nfloatanimator_main.cc.

nFloatAnimator::~nFloatAnimator  )  [virtual]
 

destructor

Definition at line 23 of file nfloatanimator_main.cc.


Member Function Documentation

virtual bool nFloatAnimator::SaveCmds nPersistServer ps  )  [virtual]
 

save object to persistency stream

Reimplemented from nShaderAnimator.

void nFloatAnimator::Animate nSceneNode sceneNode,
nRenderContext renderContext
[virtual]
 

called by scene node objects which wish to be animated by this object

Reimplemented from nAnimator.

Definition at line 65 of file nfloatanimator_main.cc.

void nFloatAnimator::AddKey float  time,
float  key
 

add a key

Add a key to the animation key array.

Definition at line 33 of file nfloatanimator_main.cc.

int nFloatAnimator::GetNumKeys  )  const
 

get number of keys

Return the number of keys in the animation key array.

Definition at line 44 of file nfloatanimator_main.cc.

void nFloatAnimator::GetKeyAt int  index,
float &  time,
float &  key
const
 

get key at

Return information for a key index.

Definition at line 54 of file nfloatanimator_main.cc.


The documentation for this class was generated from the following files:

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.