Ejemplo n.º 1
0
        public uint Read(ref GenericFieldQuaternion0 data, IInBitStream bitstream)
        {
            var propertyMask = (uint)0;


            if (bitstream.ReadMask())
            {
                var coherenceField = bitstream.ReadUnitRotation();
                data.Value    = coherenceToUnityConverters.ToUnityquaternion(coherenceField);
                propertyMask |= 0b00000000000000000000000000000001;
            }

            return(propertyMask);
        }
Ejemplo n.º 2
0
        public void Rotation(IInBitStream bitstream, ref Rotation data)
        {
            var value = bitstream.ReadUnitRotation();

            data.Value = coherenceToUnityConverters.ToUnityquaternion(value);
        }
        public void GenericFieldQuaternion0(IInBitStream bitstream, ref GenericFieldQuaternion0 data)
        {
            var Value = bitstream.ReadUnitRotation();

            data.Value = coherenceToUnityConverters.ToUnityquaternion(Value);
        }