newspeoplefor developersdocumentationdownloads

nIntAnimator Class Reference
[Scene System]

#include <nintanimator.h>

Inheritance diagram for nIntAnimator:

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

Detailed Description

Animates a int attribute of a nAbstractShaderNode.

(C) 2004 RadonLabs GmbH

Definition at line 16 of file nintanimator.h.


Public Member Functions

 nIntAnimator ()
 constructor
virtual ~nIntAnimator ()
 destructor
virtual bool SaveCmds (nPersistServer *ps)
 save object to persistent 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, int key)
 add a key
int GetNumKeys () const
 get number of keys
void GetKeyAt (int index, float &time, int &key) const
 get key at

Constructor & Destructor Documentation

nIntAnimator::nIntAnimator  ) 
 

constructor

Definition at line 14 of file nintanimator_main.cc.

nIntAnimator::~nIntAnimator  )  [virtual]
 

destructor

Definition at line 23 of file nintanimator_main.cc.


Member Function Documentation

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

save object to persistent stream

Reimplemented from nShaderAnimator.

void nIntAnimator::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 nintanimator_main.cc.

void nIntAnimator::AddKey float  time,
int  key
 

add a key

Add a key to the animation key array.

Definition at line 33 of file nintanimator_main.cc.

int nIntAnimator::GetNumKeys  )  const
 

get number of keys

Return the number of keys in the animation key array.

Definition at line 44 of file nintanimator_main.cc.

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

get key at

Return information for a key index.

Definition at line 54 of file nintanimator_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.