RwBinaryStream

From GTAMods Wiki
Revision as of 03:49, 29 May 2007 by Shrew (talk | contribs)
Jump to navigation Jump to search

RwGeometry section RwData

VersionNumber(s) 0, 2048, 3074
  • Gauranteed, first and only data in the RwGeometryList
Data type Name Version number Condition Notes
u16 flags all
u8[2] unknown all
u32 triangleCount all
u32 vertexCount all
u32 morphTargetCount all
u32 ambientRgba 0, 2048, 3074
u32 diffuseRgba 0, 2048, 3074
u32 specularRgba 0, 2048, 3074
u32[vertexCount] vertexRgba all only if( flags & flags.COLOUR)
f32[vertexCount*2] uvs all only if( flags & flags.TEXTURE)
f32[vertexCount*2] uvs all only if( flags & flags.TEXTURE)