コード例 #1
0
 protected override void ReadV8(ByteReader reader)
 {
     base.ReadV8( reader );
     Direction = reader.ReadDirF32();
     VersionNumber = reader.ReadI16();
     if (VersionNumber == 1) {
         CoordSystem = reader.ReadI32();
     }
 }
コード例 #2
0
 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();
     }
 }