#include
"../kernel/value.h"
#include "../kernel/exceptions.h"
#include "../macros/define_implementations.h"
#include "..\protocols\arrays.inl"
#include "../protocols/timefunctions.inl"
Define Documentation
#define ToTCBUI |
( |
|
a |
) |
(((a)+1.0f)*25.0f) |
#define FromTCBUI |
( |
|
a |
) |
(((a)/25.0f)-1.0f) |
#define ToEaseUI |
( |
|
a |
) |
((a)*50.0f) |
#define FromEaseUI |
( |
|
a |
) |
((a)/50.0f) |
Function Documentation
visible_class |
( |
MAXKeyArray |
|
) |
|
Define an equal operator (i.e. '==') for maxscript visible
values.
Define a NOT equal operator (i.e. '!=') for maxscript visible
values.
: public Value
{
public:
MAXControl* controller;
int key_index;
#pragma push_macro("new")
#undef new
ENABLE_STACK_ALLOCATE(MAXKey);
#pragma pop_macro("new")
ScripterExport MAXKey (Control* icont, int ikey, ParamDimension* dim);
ScripterExport MAXKey (Control* icont, int ikey);
ScripterExport MAXKey (MAXControl* icont, int ikey);
static void setup();
classof_methods (MAXKey, Value);
void collect();
void gc_trace();
ScripterExport void sprin1(CharStream* s);
def_generic ( delete, "delete");
def_generic ( copy, "copy");
def_generic ( show_props, "showProperties");
def_generic ( get_props, "getPropNames");
ScripterExport IKey* setup_key_access(AnyKey& ak, IKeyControl** kip);
def_property (time);
def_property (selected);
def_property (value);
def_property (inTangent);
def_property (outTangent);
def_property (inTangentLength);
def_property (outTangentLength);
def_property (inTangentType);
def_property (outTangentType);
def_property (x_locked);
def_property (y_locked);
def_property (z_locked);
def_property (w_locked);
def_property (constantVelocity);
def_property (freeHandle);
def_property (tension);
def_property (continuity);
def_property (bias);
def_property (easeTo);
def_property (easeFrom);
#ifdef def_time_fn
# undef def_time_fn
#endif
#define def_time_fn(_fn) \
Value* _fn##_vf(Value** arg_list, int count) { throw NoMethodError (_M(#_fn), this); return (Value*)0; }
#include "../protocols/timefunctions.inl"
};