decode_instance_finishes

Function decode_instance_finishes 

Source
pub fn decode_instance_finishes(bytes: &[u8]) -> Option<Vec<[f32; 2]>>
Expand description

Trailing field 2 of every instance record, in instance order (#5984): [metallic, roughness], NaN where unauthored. A shard whose stride does not reach the field (v1, v2, or a v3 written by a model without finishes) reads as all-NaN rather than failing, the same forward/backward rule the item id follows. None exactly when decode_instanced would refuse the header or the instance table does not fit the buffer.