[ { "name": "DetailObjectCollectionType", "options": [ "screen facing", "viewer facing" ], "type": "enum" }, { "name": "DetailObjectCollectionTypeFlags", "type": "bitfield", "fields": [ "unused a", "unused b", "interpolate color in hsv", "more colors" ], "width": 8 }, { "name": "DetailObjectCollectionObjectType", "fields": [ { "name": "name", "type": "String32" }, { "name": "sequence index", "type": "uint8" }, { "name": "flags", "type": "DetailObjectCollectionTypeFlags" }, { "name": "first sprite index", "type": "uint8", "cache_only": true }, { "name": "sprite count", "type": "uint8", "cache_only": true }, { "name": "color override factor", "minimum": 0.0, "maximum": 1.0, "type": "Fraction" }, { "type": "pad", "size": 8 }, { "name": "near fade distance", "unit": "world units", "type": "float" }, { "name": "far fade distance", "unit": "world units", "type": "float" }, { "name": "size", "unit": "world units per pixel", "type": "float" }, { "type": "pad", "size": 4 }, { "name": "minimum color", "type": "ColorRGB" }, { "name": "maximum color", "type": "ColorRGB" }, { "name": "ambient color", "type": "ColorARGBInt" }, { "type": "pad", "size": 4 } ], "type": "struct", "title": "name", "size": 96 }, { "name": "DetailObjectCollection", "fields": [ { "name": "collection type", "type": "DetailObjectCollectionType" }, { "type": "pad", "size": 2 }, { "name": "global z offset", "type": "float" }, { "type": "pad", "size": 44 }, { "name": "sprite plate", "type": "TagReference", "non_null": true, "groups": [ "bitmap" ] }, { "name": "types", "type": "Reflexive", "struct": "DetailObjectCollectionObjectType", "maximum": 16 }, { "type": "pad", "size": 48 } ], "type": "struct", "size": 128, "group": "detail_object_collection", "needs_postprocessed": true } ]