2015-09-10 20:30:35 +00:00
|
|
|
#ifndef _DNAMP1_ACTORKEYFRAME_HPP_
|
|
|
|
#define _DNAMP1_ACTORKEYFRAME_HPP_
|
|
|
|
|
|
|
|
#include "../../DNACommon/DNACommon.hpp"
|
|
|
|
#include "IScriptObject.hpp"
|
|
|
|
#include "Parameters.hpp"
|
|
|
|
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace DataSpec::DNAMP1
|
2015-09-10 20:30:35 +00:00
|
|
|
{
|
|
|
|
struct ActorKeyframe : IScriptObject
|
|
|
|
{
|
2018-02-22 07:24:51 +00:00
|
|
|
AT_DECL_DNA_YAML
|
|
|
|
AT_DECL_DNAV
|
2015-09-10 20:30:35 +00:00
|
|
|
String<-1> name;
|
2015-11-18 04:18:38 +00:00
|
|
|
Value<atUint32> animationId;
|
2018-05-17 00:04:07 +00:00
|
|
|
Value<bool> looping;
|
|
|
|
Value<float> lifetime;
|
2015-11-18 04:18:38 +00:00
|
|
|
Value<bool> active;
|
2018-05-17 00:04:07 +00:00
|
|
|
Value<atUint32> fadeOut;
|
2015-11-18 04:18:38 +00:00
|
|
|
Value<float> totalPlayback;
|
2015-09-10 20:30:35 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|