Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef __CS_IMESH_ANIMNODE_SPEED_H__
00022 #define __CS_IMESH_ANIMNODE_SPEED_H__
00023
00028 #include "csutil/scf_interface.h"
00029 #include "imesh/animnode/skeleton2anim.h"
00030
00034 namespace CS {
00035 namespace Animation {
00036
00037 struct iSkeletonSpeedNodeFactory;
00038
00043 struct iSkeletonSpeedNodeManager
00044 : public virtual CS::Animation::iSkeletonAnimNodeManager<CS::Animation::iSkeletonSpeedNodeFactory>
00045 {
00046 SCF_ISKELETONANIMNODEMANAGER_INTERFACE (CS::Animation::iSkeletonSpeedNodeManager, 1, 0, 0);
00047 };
00048
00054 struct iSkeletonSpeedNodeFactory : public virtual iSkeletonAnimNodeFactory
00055 {
00056 SCF_INTERFACE(CS::Animation::iSkeletonSpeedNodeFactory, 2, 0, 0);
00057
00075 virtual void AddNode (iSkeletonAnimNodeFactory* factory, float speed) = 0;
00076 };
00077
00082 struct iSkeletonSpeedNode : public iSkeletonAnimNode
00083 {
00084 SCF_INTERFACE(CS::Animation::iSkeletonSpeedNode, 1, 0, 0);
00085
00090 virtual void SetSpeed (float speed) = 0;
00091 };
00092
00093 }
00094 }
00095
00098 #endif //__CS_IMESH_ANIMNODE_SPEED_H__