protected override void ReadV8(ByteReader reader) { base.ReadV8( reader ); Position = reader.ReadHCoordF32(); ConstantAttenuation = reader.ReadF32(); LinearAttenuation = reader.ReadF32(); QuadraticAttenuation = reader.ReadF32(); SpreadAngle = reader.ReadF32(); SpotDirection = reader.ReadDirF32(); SpotIntensity = reader.ReadI32(); VersionNumber = reader.ReadI16(); if ( VersionNumber == 1 ) { CoordSystem = reader.ReadI32(); } }