newspeoplefor developersdocumentationdownloads

nShaderAnimator Class Reference

#include <nshaderanimator.h>

Inheritance diagram for nShaderAnimator:

nAnimator nSceneNode nRoot nObject nNode nReferenced nSignalEmitter nFloatAnimator nIntAnimator nVectorAnimator List of all members.

Detailed Description

Base class for shader attribute animators.

(C) 2005 Radon Labs GmbH

Definition at line 12 of file nshaderanimator.h.


Public Member Functions

 nShaderAnimator ()
 constructor
virtual ~nShaderAnimator ()
 destructor
virtual bool SaveCmds (nPersistServer *ps)
 save object to persistent stream
virtual Type GetAnimatorType () const
 return the type of this animator object (SHADER)
void SetParamName (const char *n)
 set the name of the shader parameter to manipulate
const char * GetParamName () const
 get the name of the attribute parameter to manipulate

Protected Attributes

nShaderState::Param param

Constructor & Destructor Documentation

nShaderAnimator::nShaderAnimator  ) 
 

constructor

Definition at line 12 of file nshaderanimator_main.cc.

nShaderAnimator::~nShaderAnimator  )  [virtual]
 

destructor

Definition at line 21 of file nshaderanimator_main.cc.


Member Function Documentation

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

save object to persistent stream

Reimplemented from nAnimator.

Reimplemented in nFloatAnimator, nIntAnimator, and nVectorAnimator.

nAnimator::Type nShaderAnimator::GetAnimatorType  )  const [virtual]
 

return the type of this animator object (SHADER)

Returns shader type.

Reimplemented from nAnimator.

Definition at line 31 of file nshaderanimator_main.cc.

void nShaderAnimator::SetParamName const char *  paramName  ) 
 

set the name of the shader parameter to manipulate

Set the name of the shader parameter which should be animated by this object.

Definition at line 42 of file nshaderanimator_main.cc.

const char * nShaderAnimator::GetParamName  )  const
 

get the name of the attribute parameter to manipulate

Get the name of the shader parameter which is animated by this object.

Definition at line 53 of file nshaderanimator_main.cc.


Member Data Documentation

nShaderState::Param nShaderAnimator::param [protected]
 

Definition at line 29 of file nshaderanimator.h.


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

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