public TimeSetBehaviorAtom(BinaryReader _reader, uint size, uint typeCode, uint version, uint instance)
            : base(_reader, size, typeCode, version, instance)
        {
            int flags = this.Reader.ReadInt32();

            fToPropertyUsed        = Tools.Utils.BitmaskToBool(flags, 0x1);
            fValueTypePropertyUsed = Tools.Utils.BitmaskToBool(flags, 0x1 << 1);

            valueType = (TimeAnimateBehaviorValueTypeEnum)this.Reader.ReadInt32();
        }
        public TimeAnimateBehaviorAtom(BinaryReader _reader, uint size, uint typeCode, uint version, uint instance)
            : base(_reader, size, typeCode, version, instance)
        {
            calcMode = this.Reader.ReadUInt32();
            int flags = this.Reader.ReadInt32();

            fByPropertyUsed              = Tools.Utils.BitmaskToBool(flags, 0x1);
            fFromPropertyUsed            = Tools.Utils.BitmaskToBool(flags, 0x1 << 1);
            fToPropertyUsed              = Tools.Utils.BitmaskToBool(flags, 0x1 << 2);
            fCalcModePropertyUsed        = Tools.Utils.BitmaskToBool(flags, 0x1 << 3);
            fAnimationValuesPropertyUsed = Tools.Utils.BitmaskToBool(flags, 0x1 << 4);
            fValueTypePropertyUsed       = Tools.Utils.BitmaskToBool(flags, 0x1 << 5);
            valueType = (TimeAnimateBehaviorValueTypeEnum)this.Reader.ReadInt32();
        }