newspeoplefor developersdocumentationdownloads

nBlendShapeAnimator Class Reference
[Scene System]

#include <nblendshapeanimator.h>

Inheritance diagram for nBlendShapeAnimator:

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

Detailed Description

(C) 2004 RadonLabs GmbH

Definition at line 15 of file nblendshapeanimator.h.


Public Member Functions

 nBlendShapeAnimator ()
 constructor
virtual ~nBlendShapeAnimator ()
 destructor
virtual bool SaveCmds (nPersistServer *ps)
 save object to persistent stream
virtual bool LoadResources ()
 load resources
virtual void UnloadResources ()
 unload resources
virtual Type GetAnimatorType () const
 return the type of this animator object
void SetAnimation (const nString &name)
 set the animation resource name
const nStringGetAnimation ()
 get the animation resource name
void SetAnimationGroup (int group)
 set the animation group to use
int GetAnimationGroup ()
 get which animation group is used
virtual void Animate (nSceneNode *sceneNode, nRenderContext *renderContext)
 called by scene node objects which wish to be animated by this object

Constructor & Destructor Documentation

nBlendShapeAnimator::nBlendShapeAnimator  ) 
 

constructor

Definition at line 14 of file nblendshapeanimator_main.cc.

nBlendShapeAnimator::~nBlendShapeAnimator  )  [virtual]
 

destructor

Definition at line 24 of file nblendshapeanimator_main.cc.


Member Function Documentation

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

save object to persistent stream

Reimplemented from nAnimator.

bool nBlendShapeAnimator::LoadResources  )  [virtual]
 

load resources

Load the resources needed by this object.

Reimplemented from nSceneNode.

Definition at line 83 of file nblendshapeanimator_main.cc.

void nBlendShapeAnimator::UnloadResources  )  [virtual]
 

unload resources

Unload the resources if refcount has reached zero.

Reimplemented from nSceneNode.

Definition at line 98 of file nblendshapeanimator_main.cc.

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

return the type of this animator object

Reimplemented from nAnimator.

Definition at line 33 of file nblendshapeanimator_main.cc.

void nBlendShapeAnimator::SetAnimation const nString name  )  [inline]
 

set the animation resource name

Set the resource name. The animation resource name consists of the filename of the animation.

Definition at line 62 of file nblendshapeanimator.h.

const nString & nBlendShapeAnimator::GetAnimation  )  [inline]
 

get the animation resource name

Get the animation resource name.

Definition at line 75 of file nblendshapeanimator.h.

void nBlendShapeAnimator::SetAnimationGroup int  group  )  [inline]
 

set the animation group to use

Definition at line 85 of file nblendshapeanimator.h.

int nBlendShapeAnimator::GetAnimationGroup  )  [inline]
 

get which animation group is used

Definition at line 95 of file nblendshapeanimator.h.

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

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

This does the actual work of manipulate the target object.

Parameters:
sceneNode object to manipulate (must be of class nBlendShapeNode)
renderContext current render context

Reimplemented from nAnimator.

Definition at line 112 of file nblendshapeanimator_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.