vsg: include/vsg/animation/FindAnimations.h Source File

vsg 1.1.8 VulkanSceneGraph library

Loading...
Searching...
No Matches
FindAnimations.h
1#pragma once
2
3/* <editor-fold desc="MIT License">
4
5Copyright(c) 2024 Robert Osfield
6
7Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
9The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
11THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
12
13</editor-fold> */
14
15#include <vsg/animation/AnimationGroup.h>
16
17namespace vsg
18{
19
20 class VSG_DECLSPEC FindAnimations : public Inherit<Visitor, FindAnimations>
21 {
22 public:
23 Animations animations;
24 AnimationGroups animationGroups;
25
26 void apply(Object& object) override;
27 void apply(Animation& animation) override;
28 void apply(AnimationGroup& node) override;
29 };
30 VSG_type_name(vsg::FindAnimations);
31
32} // namespace vsg
vsg::AnimationGroup
AnimationGroup node provides a list of child nodes and a list of animations to animate them.
Definition AnimationGroup.h:24
vsg::Animation
Animation class that controls a single animation made up of one more samplers.
Definition Animation.h:44
vsg::FindAnimations
Definition FindAnimations.h:21
vsg::Inherit
Definition Inherit.h:28
vsg::Object
Definition Object.h:60