nShadowSkinShapeNode Class Reference
[Scene System]
#include <nshadowskinshapenode.h>
Inheritance diagram for nShadowSkinShapeNode:

Detailed Description
A shadow skin node is 'visible' object that provide shadow to the scene.It can be animated like a skinshape node, and provides shadow for skinned meshes.
(C) 2005 RadonLabs GmbH
Definition at line 23 of file nshadowskinshapenode.h.
Public Member Functions | |
| nShadowSkinShapeNode () | |
| constructor | |
| virtual | ~nShadowSkinShapeNode () |
| destructor | |
| virtual bool | SaveCmds (nPersistServer *ps) |
| save object to persistent stream | |
| virtual bool | LoadResources () |
| load resources for this object | |
| virtual void | UnloadResources () |
| unload resources for this object | |
| virtual bool | RenderShadow (nSceneServer *sceneServer, nRenderContext *renderContext, const matrix44 &modelMatrix) |
| perform per-instance-rendering of shadow | |
| virtual bool | HasShadow () const |
| return true if node provides shadow | |
| void | SetMesh (const nString &n) |
| set the mesh resource name | |
| const nString & | GetMesh () const |
| get the mesh resource name | |
| void | SetGroupIndex (int i) |
| set the mesh group index | |
| int | GetGroupIndex () const |
| get the mesh group index | |
| void | SetSkinAnimator (const char *path) |
| set the skin animator | |
| const char * | GetSkinAnimator () const |
| get the skin animator | |
| void | SetCharSkeleton (const nCharSkeleton *charSkeleton) |
| set pointer to an uptodate character skeleton object (called exclusively by nSkinAnimator) | |
Protected Attributes | |
| nString | meshName |
| int | groupIndex |
| nRef< nSkinnedShadowCaster2 > | refShadowCaster |
| nDynAutoRef< nSkinAnimator > | refSkinAnimator |
Static Protected Attributes | |
| static const float | maxDistance = 30.0f |
Constructor & Destructor Documentation
|
|
constructor
Definition at line 17 of file nshadowskinshapenode_main.cc. |
|
|
destructor
Definition at line 26 of file nshadowskinshapenode_main.cc. |
Member Function Documentation
|
|
save object to persistent stream
Reimplemented from nTransformNode. |
|
|
load resources for this object Initializes the embedded shadow caster. Reimplemented from nSceneNode. Definition at line 46 of file nshadowskinshapenode_main.cc. |
|
|
unload resources for this object Releases the embedded shadow caster. Reimplemented from nSceneNode. Definition at line 68 of file nshadowskinshapenode_main.cc. |
|
||||||||||||||||
|
perform per-instance-rendering of shadow
Reimplemented from nSceneNode. Definition at line 82 of file nshadowskinshapenode_main.cc. |
|
|
return true if node provides shadow Indicate to scene server that we provide shadow Reimplemented from nSceneNode. Definition at line 36 of file nshadowskinshapenode_main.cc. |
|
|
set the mesh resource name
Definition at line 68 of file nshadowskinshapenode.h. |
|
|
get the mesh resource name
Definition at line 78 of file nshadowskinshapenode.h. |
|
|
set the mesh group index
Definition at line 88 of file nshadowskinshapenode.h. |
|
|
get the mesh group index
Definition at line 98 of file nshadowskinshapenode.h. |
|
|
set the skin animator Set relative path to the skin animator object. Definition at line 109 of file nshadowskinshapenode.h. |
|
|
get the skin animator Get relative path to the skin animator object Definition at line 121 of file nshadowskinshapenode.h. |
|
|
set pointer to an uptodate character skeleton object (called exclusively by nSkinAnimator) Update the pointer to an uptodate nCharSkeleton object. This pointer is provided by the nSkinAnimator object and is routed to the nCharSkinRenderer so that the mesh can be properly deformed. Definition at line 134 of file nshadowskinshapenode.h. |
Member Data Documentation
|
|
Definition at line 12 of file nshadowskinshapenode_main.cc. |
|
|
Definition at line 57 of file nshadowskinshapenode.h. |
|
|
Definition at line 58 of file nshadowskinshapenode.h. |
|
|
Definition at line 59 of file nshadowskinshapenode.h. |
|
|
Definition at line 60 of file nshadowskinshapenode.h. |
The documentation for this class was generated from the following files: