|
C3D_API | AnimatedSkeleton (castor::String const &name, Skeleton &skeleton, Mesh &mesh, Geometry &geometry) |
| Constructeur.
|
|
C3D_API uint32_t | fillBuffer (SkinningTransformsConfiguration *buffer) const |
| Remplit un buffer avec les transformations du squelette de cet objet.
|
|
C3D_API void | update (castor::Milliseconds const &elapsed) override |
| Met à jour les animations de l'objet, selon le temps écoulé depuis la dernière frame.
|
|
bool | isPlayingAnimation () const override |
|
Skeleton & | getSkeleton () const |
|
Mesh & | getMesh () const |
|
Geometry & | getGeometry () const |
|
uint32_t | getId () const |
|
void | setId (uint32_t id) |
|
|
C3D_API | AnimatedSkeleton (AnimatedSkeleton &&rhs) noexcept=default |
|
C3D_API AnimatedSkeleton & | operator= (AnimatedSkeleton &&rhs) noexcept=delete |
|
C3D_API | AnimatedSkeleton (AnimatedSkeleton const &rhs)=delete |
|
C3D_API AnimatedSkeleton & | operator= (AnimatedSkeleton const &rhs)=delete |
|
C3D_API | ~AnimatedSkeleton () noexcept override=default |
|
C3D_API | AnimatedObject (AnimationType kind, castor::String const &name) |
| Constructeur.
|
|
virtual C3D_API | ~AnimatedObject () noexcept=default |
| Destructeur.
|
|
C3D_API void | addAnimation (castor::String const &name) |
| Ajoute une animation à la liste.
|
|
C3D_API void | startAnimation (castor::String const &name) |
| Démarre l'animation identifiée par le nom donné
|
|
C3D_API void | stopAnimation (castor::String const &name) |
| Stoppe l'animation identifiée par le nom donné
|
|
C3D_API void | pauseAnimation (castor::String const &name) |
| Met en pause l'animation identifiée par le nom donné
|
|
C3D_API void | startAllAnimations () |
| Démarre toutes les animations.
|
|
C3D_API void | stopAllAnimations () |
| Stoppe toutes les animations.
|
|
C3D_API void | pauseAllAnimations () |
| Met en pause toutes les animations.
|
|
C3D_API AnimationInstance & | getAnimation (castor::String const &name) |
| Récupère une animation.
|
|
C3D_API | AnimatedObject (AnimatedObject &&rhs) noexcept=default |
|
C3D_API AnimatedObject & | operator= (AnimatedObject &&rhs) noexcept=default |
|
C3D_API | AnimatedObject (AnimatedObject const &rhs)=delete |
|
C3D_API AnimatedObject & | operator= (AnimatedObject const &rhs)=delete |
|
bool | hasAnimation (castor::String const &name) |
|
AnimationInstancesMap const & | getAnimations () const |
|
AnimationType | getKind () const |
|
| NamedBaseT (T name) noexcept |
| Constructeur.
|
|
T const & | getName () const noexcept |
| Récupère le nom.
|
|
void | rename (T name) noexcept |
|