diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Animation/PPtrKeyframes.h |
Diffstat (limited to 'Runtime/Animation/PPtrKeyframes.h')
-rw-r--r-- | Runtime/Animation/PPtrKeyframes.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Runtime/Animation/PPtrKeyframes.h b/Runtime/Animation/PPtrKeyframes.h new file mode 100644 index 0000000..1620d7c --- /dev/null +++ b/Runtime/Animation/PPtrKeyframes.h @@ -0,0 +1,12 @@ +#pragma once + +#include "Runtime/BaseClasses/BaseObject.h" + +struct PPtrKeyframe +{ + float time; + PPtr<Object> value; + + DECLARE_SERIALIZE(PPtrKeyframe) +}; +typedef dynamic_array<PPtrKeyframe> PPtrKeyframes; |