4 template<
typename Value,
typename getValueRef,
typename setValueRef,
typename C, getValueRef(C::*GetF)() const,
void (C::*SetF)(setValueRef)>
11 Property0(getValueRef dest) : _dest(dest), _initialized(
false) {}
19 void init(getValueRef src)
35 const value& getDest()
const 40 const value& getSrc()
const 45 void update(type& t,
float p,
const UpdateState& us)
47 OX_ASSERT(_initialized);
48 value v = lerp(_src, _dest, p);
56 static getValueRef
get(C& c)
66 static void set(C& c, setValueRef v)
72 template<
typename Value,
typename valueRef,
typename C, valueRef(C::*GetF)() const,
void (C::*SetF)(valueRef)>
79 template<
typename value0,
typename value,
typename valueRef,
typename C, valueRef(C::*GetF)() const,
void (C::*SetF)(valueRef)>
89 template<
typename value0,
typename value,
typename getValueRef,
typename setValueRef,
typename C, getValueRef(C::*GetF)() const,
void (C::*SetF)(setValueRef)>
98 template<
typename value0,
typename value,
typename valueRef,
typename C, valueRef(C::*GetF)() const,
void (C::*SetF)(valueRef)>
109 #define GetSet Property 110 #define GetSet2Args Property2Args 111 #define GetSet2Args1Arg Property2Args1Arg Definition: Property.h:90
Definition: Property.h:73
Definition: Property.h:80
Definition: UpdateState.h:6
–oxgl-end–!
Definition: Actor.h:14
Definition: Property.h:99