public void Read(AssetReader reader) { X.Read(reader); WeightT = reader.ReadSingle(); WeightR = reader.ReadSingle(); if (HasHints(reader.Version)) { if (IsVector3(reader.Version)) { HintT.Read3(reader); } else { HintT.Read(reader); } HintWeightT = reader.ReadSingle(); } }
public void Read(AssetStream stream) { X.Read(stream); WeightT = stream.ReadSingle(); WeightR = stream.ReadSingle(); if (IsReadHints(stream.Version)) { if (IsVector3(stream.Version)) { HintT.Read3(stream); } else { HintT.Read(stream); } HintWeightT = stream.ReadSingle(); } }