LumixEngine/src/animation/events.h
2016-11-23 17:03:29 +01:00

38 lines
No EOL
303 B
C++

#pragma once
#include "engine/lumix.h"
namespace Lumix
{
namespace Anim
{
struct EventHeader
{
float time;
u32 type;
u16 offset;
u8 size;
};
struct SetInputEvent
{
int input_idx;
union {
int i_value;
float f_value;
bool b_value;
};
};
} // namespace Anim
} // namespace Lumix