|
Castor3D
..
|
Class which represents the animated object groups. More...
Inheritance diagram for Castor3D::AnimatedObjectGroup:
Collaboration diagram for Castor3D::AnimatedObjectGroup:Classes | |
| class | BinaryLoader |
| AnimatedObjectGroup loader. More... | |
| class | TextLoader |
| AnimatedObjectGroup loader. More... | |
Public Member Functions | |
| C3D_API | AnimatedObjectGroup (Castor::String const &p_name, Scene &p_scene) |
| Specified constructor. More... | |
| C3D_API | ~AnimatedObjectGroup () |
| Destructor. More... | |
| C3D_API AnimatedObjectSPtr | AddObject (GeometrySPtr p_object) |
| Creates an AnimatedObject from the MovableObject given as a parameter, adds it to the list. More... | |
| C3D_API bool | AddObject (AnimatedObjectSPtr p_object) |
| Adds an AnimatedObject to this group. More... | |
| C3D_API void | AddAnimation (Castor::String const &p_name) |
| Adds the animation to the list. More... | |
| C3D_API void | SetAnimationLooped (Castor::String const &p_name, bool p_looped) |
| Sets the loop status of wanted animation. More... | |
| C3D_API void | SetAnimationScale (Castor::String const &p_name, float p_scale) |
| Sets the time scale of wanted animation. More... | |
| C3D_API void | Update () |
| Updates all animated objects. More... | |
| C3D_API void | StartAnimation (Castor::String const &p_name) |
| Starts the animation identified by the given name. More... | |
| C3D_API void | StopAnimation (Castor::String const &p_name) |
| Stops the animation identified by the given name. More... | |
| C3D_API void | PauseAnimation (Castor::String const &p_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... | |
| AnimationStateMap const & | GetAnimations () const |
| AnimatedObjectPtrStrMap const & | GetObjects () const |
Class which represents the animated object groups.
| C3D_API Castor3D::AnimatedObjectGroup::AnimatedObjectGroup | ( | Castor::String const & | p_name, |
| Scene & | p_scene | ||
| ) |
Specified constructor.
| [in] | p_name | The group name |
| [in] | p_scene | The scene |
| C3D_API Castor3D::AnimatedObjectGroup::~AnimatedObjectGroup | ( | ) |
Destructor.
| C3D_API void Castor3D::AnimatedObjectGroup::AddAnimation | ( | Castor::String const & | p_name | ) |
Adds the animation to the list.
| [in] | p_name | The animation to add |
Ajoute une animation à la liste
| [in] | p_name | L'animation à ajouter |
| C3D_API AnimatedObjectSPtr Castor3D::AnimatedObjectGroup::AddObject | ( | GeometrySPtr | p_object | ) |
Creates an AnimatedObject from the MovableObject given as a parameter, adds it to the list.
| [in] | p_object | The Geometry from which AnimatedObject is created |
| C3D_API bool Castor3D::AnimatedObjectGroup::AddObject | ( | AnimatedObjectSPtr | p_object | ) |
Adds an AnimatedObject to this group.
| [in] | p_object | The AnimatedObject to add |
|
inline |
|
inline |
| C3D_API void Castor3D::AnimatedObjectGroup::PauseAllAnimations | ( | ) |
Pauses all animations.
| C3D_API void Castor3D::AnimatedObjectGroup::PauseAnimation | ( | Castor::String const & | p_name | ) |
Pauses the animation identified by the given name.
| [in] | p_name | The name of the animation |
| C3D_API void Castor3D::AnimatedObjectGroup::SetAnimationLooped | ( | Castor::String const & | p_name, |
| bool | p_looped | ||
| ) |
Sets the loop status of wanted animation.
| [in] | p_name | The name of the animation. |
| [in] | p_looped | The status. |
| C3D_API void Castor3D::AnimatedObjectGroup::SetAnimationScale | ( | Castor::String const & | p_name, |
| float | p_scale | ||
| ) |
Sets the time scale of wanted animation.
| [in] | p_name | The name of the animation. |
| [in] | p_scale | The scale. |
| C3D_API void Castor3D::AnimatedObjectGroup::StartAllAnimations | ( | ) |
Starts all animations.
| C3D_API void Castor3D::AnimatedObjectGroup::StartAnimation | ( | Castor::String const & | p_name | ) |
Starts the animation identified by the given name.
| [in] | p_name | The name of the animation |
| C3D_API void Castor3D::AnimatedObjectGroup::StopAllAnimations | ( | ) |
Stops all animations.
| C3D_API void Castor3D::AnimatedObjectGroup::StopAnimation | ( | Castor::String const & | p_name | ) |
Stops the animation identified by the given name.
| [in] | p_name | The name of the animation |
| C3D_API void Castor3D::AnimatedObjectGroup::Update | ( | ) |
Updates all animated objects.
1.8.15