예제 #1
0
        public override void Read(AssetReader reader)
        {
            base.Read(reader);

            Ratio = reader.ReadSingle();
            Light.Read(reader);
            RandomDistribution = reader.ReadBoolean();
            Color     = reader.ReadBoolean();
            Range     = reader.ReadBoolean();
            Intensity = reader.ReadBoolean();
            RangeCurve.Read(reader);
            IntensityCurve.Read(reader);
            MaxLights = reader.ReadInt32();
        }
예제 #2
0
        public override void Read(AssetStream stream)
        {
            base.Read(stream);

            Ratio = stream.ReadSingle();
            Light.Read(stream);
            RandomDistribution = stream.ReadBoolean();
            Color     = stream.ReadBoolean();
            Range     = stream.ReadBoolean();
            Intensity = stream.ReadBoolean();
            RangeCurve.Read(stream);
            IntensityCurve.Read(stream);
            MaxLights = stream.ReadInt32();
        }