Exemplo n.º 1
0
 public void Read(EndianStream stream)
 {
     Name         = stream.ReadStringAligned();
     Description  = stream.ReadStringAligned();
     m_attributes = stream.ReadStringArray();
     Type         = (SerializedPropertyType)stream.ReadInt32();
     Flags        = (SerializedPropertyFlag)stream.ReadUInt32();
     stream.Read(m_defValue, 0, m_defValue.Length);
     DefTexture.Read(stream);
 }
Exemplo n.º 2
0
 public void Read(AssetReader reader)
 {
     Name         = reader.ReadStringAligned();
     Description  = reader.ReadStringAligned();
     m_attributes = reader.ReadStringArray();
     Type         = (SerializedPropertyType)reader.ReadInt32();
     Flags        = (SerializedPropertyFlag)reader.ReadUInt32();
     DefValue0    = reader.ReadSingle();
     DefValue1    = reader.ReadSingle();
     DefValue2    = reader.ReadSingle();
     DefValue3    = reader.ReadSingle();
     DefTexture.Read(reader);
 }
Exemplo n.º 3
0
 public void Read(AssetStream stream)
 {
     Name         = stream.ReadStringAligned();
     Description  = stream.ReadStringAligned();
     m_attributes = stream.ReadStringArray();
     Type         = (SerializedPropertyType)stream.ReadInt32();
     Flags        = (SerializedPropertyFlag)stream.ReadUInt32();
     DefValue0    = stream.ReadSingle();
     DefValue1    = stream.ReadSingle();
     DefValue2    = stream.ReadSingle();
     DefValue3    = stream.ReadSingle();
     DefTexture.Read(stream);
 }