Definition in file PackFloatByte_Limits.h.
#include "PackFloat.h"
Go to the source code of this file.
Classes | |
class | PackFloatByte_Limits |
manage a float value, but serialize it in 1 byte, where the 256 value domain is scaled between 2 float given at inition. default ends are:[ 0.0f , 1.0f [ More... | |
Defines | |
#define | REGISTER_MEMBER_PACKFLOATBYTE_LIMITS(_object, _MemberName, _DefaultVal, _min, _max) |
This macro is used to register a serializable member in a class constructor. For editable mode, it uses _MemberName to explicit the use of the member, in order to display it in a GUI for example. | |
#define | REGISTER_MEMBER_PACKFLOATBYTE_0_1(_object, _MemberName, _DefaultVal) |
|
Value: RegisterSerializableMember(_object);\ _object.SetMemberName( _MemberName );\ _object.SetMinMax( _min , _max );\ _object.Set(_DefaultVal); \ _object.Set(1,_DefaultVal); \ _object.Set(2,_DefaultVal);
Definition at line 125 of file PackFloatByte_Limits.h. |
/\/\ 4 N k ! N D _______ _ __ ___ _____ ___ _ _ ____ ___________ __//___ /________ |/ / ___________\_______/ \ / _ _ \/ _ / _ / _/_/____/ _ __ / / / / / / / \ \/ / / \ \ / \\___/___/___/ ¯ _____/_____/ ______\___/_____/\________\\ \________/_ ___ __ l____\ /elD! http://www.m4nkind.com \____/