![]() |
Castor3D 0.12.0
Multiplatform 3D engine
|
#include <AnimatedObjectGroup.hpp>


Public Member Functions | |
| C3D_API | AnimatedObjectGroup (castor::String const &name, Scene &scene) |
| Specified constructor. More... | |
| C3D_API | ~AnimatedObjectGroup () |
| Destructor. More... | |
| C3D_API AnimatedObjectSPtr | addObject (SceneNode &node, castor::String const &name) |
| Creates an AnimatedObject from the SceneNode given as a parameter, adds it to the list. More... | |
| C3D_API AnimatedObjectSPtr | addObject (Mesh &mesh, Geometry &geometry, castor::String const &name) |
| Creates an AnimatedObject from the Mesh given as a parameter, adds it to the list. More... | |
| C3D_API AnimatedObjectSPtr | addObject (Skeleton &skeleton, Mesh &mesh, Geometry &geometry, castor::String const &name) |
| Creates an AnimatedObject from the Skeleton given as a parameter, adds it to the list. More... | |
| C3D_API AnimatedObjectSPtr | addObject (TextureSourceInfo const &sourceInfo, TextureConfiguration const &config, Pass &pass) |
| Creates an AnimatedObject for a texture, adds it to the list. More... | |
| C3D_API bool | addObject (AnimatedObjectSPtr object) |
| adds an AnimatedObject to this group. More... | |
| C3D_API AnimatedObject * | findObject (castor::String const &name) const |
| Find an AnimatedObject given its name. More... | |
| C3D_API void | addAnimation (castor::String const &name) |
| adds the animation to the list More... | |
| C3D_API void | setAnimationLooped (castor::String const &name, bool looped) |
| Sets the loop status of wanted animation. More... | |
| C3D_API void | setAnimationScale (castor::String const &name, float scale) |
| Sets the time scale of wanted animation. More... | |
| C3D_API void | setAnimationStartingPoint (castor::String const &name, castor::Milliseconds value) |
| Sets the starting point of wanted animation. More... | |
| C3D_API void | setAnimationStoppingPoint (castor::String const &name, castor::Milliseconds value) |
| Sets the stopping point of wanted animation. More... | |
| C3D_API void | update (CpuUpdater &updater) |
| CPU Update. More... | |
| C3D_API void | startAnimation (castor::String const &name) |
| Starts the animation identified by the given name. More... | |
| C3D_API void | stopAnimation (castor::String const &name) |
| Stops the animation identified by the given name. More... | |
| C3D_API void | pauseAnimation (castor::String const &name) |
| Pauses the animation identified by the given name. More... | |
| C3D_API void | startAllAnimations () |
| Starts all animations. More... | |
| C3D_API void | stopAllAnimations () |
| Stops all animations. More... | |
| C3D_API void | pauseAllAnimations () |
| Pauses all animations. More... | |
| GroupAnimationMap const & | getAnimations () const |
| AnimatedObjectPtrStrMap const & | getObjects () const |
| C3D_API castor3d::AnimatedObjectGroup::AnimatedObjectGroup | ( | castor::String const & | name, |
| Scene & | scene | ||
| ) |
Specified constructor.
| [in] | scene | The scene |
| [in] | name | The group name |
| C3D_API castor3d::AnimatedObjectGroup::~AnimatedObjectGroup | ( | ) |
Destructor.
| C3D_API void castor3d::AnimatedObjectGroup::addAnimation | ( | castor::String const & | name | ) |
adds the animation to the list
| [in] | name | The animation to add |
| C3D_API bool castor3d::AnimatedObjectGroup::addObject | ( | AnimatedObjectSPtr | object | ) |
adds an AnimatedObject to this group.
| [in] | object | The AnimatedObject to add |
| C3D_API AnimatedObjectSPtr castor3d::AnimatedObjectGroup::addObject | ( | Mesh & | mesh, |
| Geometry & | geometry, | ||
| castor::String const & | name | ||
| ) |
Creates an AnimatedObject from the Mesh given as a parameter, adds it to the list.
| [in] | mesh | The Mesh from which AnimatedObject is created. |
| [in] | geometry | The geometry instantiating the mesh. |
| [in] | name | The Mesh instance name. |
| C3D_API AnimatedObjectSPtr castor3d::AnimatedObjectGroup::addObject | ( | SceneNode & | node, |
| castor::String const & | name | ||
| ) |
Creates an AnimatedObject from the SceneNode given as a parameter, adds it to the list.
| [in] | node | The SceneNode from which AnimatedObject is created. |
| [in] | name | The SceneNode instance name. |
| C3D_API AnimatedObjectSPtr castor3d::AnimatedObjectGroup::addObject | ( | Skeleton & | skeleton, |
| Mesh & | mesh, | ||
| Geometry & | geometry, | ||
| castor::String const & | name | ||
| ) |
Creates an AnimatedObject from the Skeleton given as a parameter, adds it to the list.
| [in] | skeleton | The Skeleton from which AnimatedObject is created. |
| [in] | mesh | The mesh to which the skeleton is bound. |
| [in] | geometry | The geometry instantiating the mesh. |
| [in] | name | The Skeleton instance name. |
| C3D_API AnimatedObjectSPtr castor3d::AnimatedObjectGroup::addObject | ( | TextureSourceInfo const & | sourceInfo, |
| TextureConfiguration const & | config, | ||
| Pass & | pass | ||
| ) |
Creates an AnimatedObject for a texture, adds it to the list.
| [in] | sourceInfo | The texture source informations. |
| [in] | config | The texture configuration. |
| [in] | pass | The pass instanciating the texture. |
| C3D_API AnimatedObject * castor3d::AnimatedObjectGroup::findObject | ( | castor::String const & | name | ) | const |
Find an AnimatedObject given its name.
| [in] | name | The AnimatedObject name. |
|
inline |
|
inline |
| C3D_API void castor3d::AnimatedObjectGroup::pauseAllAnimations | ( | ) |
Pauses all animations.
| C3D_API void castor3d::AnimatedObjectGroup::pauseAnimation | ( | castor::String const & | name | ) |
Pauses the animation identified by the given name.
| [in] | name | The name of the animation |
| C3D_API void castor3d::AnimatedObjectGroup::setAnimationLooped | ( | castor::String const & | name, |
| bool | looped | ||
| ) |
Sets the loop status of wanted animation.
| [in] | name | The name of the animation. |
| [in] | looped | The status. |
| C3D_API void castor3d::AnimatedObjectGroup::setAnimationScale | ( | castor::String const & | name, |
| float | scale | ||
| ) |
Sets the time scale of wanted animation.
| [in] | name | The name of the animation. |
| [in] | scale | The scale. |
| C3D_API void castor3d::AnimatedObjectGroup::setAnimationStartingPoint | ( | castor::String const & | name, |
| castor::Milliseconds | value | ||
| ) |
Sets the starting point of wanted animation.
| [in] | name | The name of the animation. |
| [in] | value | The starting point. |
| C3D_API void castor3d::AnimatedObjectGroup::setAnimationStoppingPoint | ( | castor::String const & | name, |
| castor::Milliseconds | value | ||
| ) |
Sets the stopping point of wanted animation.
| [in] | name | The name of the animation. |
| [in] | value | The stopping point. |
| C3D_API void castor3d::AnimatedObjectGroup::startAllAnimations | ( | ) |
Starts all animations.
| C3D_API void castor3d::AnimatedObjectGroup::startAnimation | ( | castor::String const & | name | ) |
Starts the animation identified by the given name.
| [in] | name | The name of the animation |
| C3D_API void castor3d::AnimatedObjectGroup::stopAllAnimations | ( | ) |
Stops all animations.
| C3D_API void castor3d::AnimatedObjectGroup::stopAnimation | ( | castor::String const & | name | ) |
Stops the animation identified by the given name.
| [in] | name | The name of the animation |
| C3D_API void castor3d::AnimatedObjectGroup::update | ( | CpuUpdater & | updater | ) |
CPU Update.
| [in,out] | updater | The update data. |
| OnAnimatedMeshChange castor3d::AnimatedObjectGroup::onMeshAdded |
| OnAnimatedMeshChange castor3d::AnimatedObjectGroup::onMeshRemoved |
| OnAnimatedSceneNodeChange castor3d::AnimatedObjectGroup::onSceneNodeAdded |
| OnAnimatedSceneNodeChange castor3d::AnimatedObjectGroup::onSceneNodeRemoved |
| OnAnimatedSkeletonChange castor3d::AnimatedObjectGroup::onSkeletonAdded |
| OnAnimatedSkeletonChange castor3d::AnimatedObjectGroup::onSkeletonRemoved |
| OnAnimatedTextureChange castor3d::AnimatedObjectGroup::onTextureAdded |
| OnAnimatedTextureChange castor3d::AnimatedObjectGroup::onTextureRemoved |