1 #ifndef __DALI_MODEL_ANIMATION_MAP_H__
2 #define __DALI_MODEL_ANIMATION_MAP_H__
5 * Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
23 #include <dali/public-api/modeling/entity-animator-map.h>
28 struct ModelAnimationMap;
29 typedef std::vector<ModelAnimationMap> ModelAnimationMapContainer; ///< Container of model animations
32 * @brief ModelAnimationMap maps an animation name to a set of entity animators and animation
33 * properties such as duration and repeats.
35 struct ModelAnimationMap
46 std::string name; ///< Name of the animation
47 EntityAnimatorMapContainer animators; ///< Set of entity - animation mappings
48 float duration; ///< Duration of the animation
49 int repeats; ///< Number of times the animation should be repeated
54 #endif // __DALI_MODEL_ANIMATION_MAP_H__