Function ssbh_data::mesh_data::read_texture_coordinates[][src]

pub fn read_texture_coordinates(
    mesh: &Mesh,
    mesh_object: &MeshObject,
    flip_vertical: bool
) -> Result<Vec<AttributeData>, Box<dyn Error>>
Expand description

Returns all the texture coordinate attributes for the specified mesh_object. The v coordinate is transformed to 1.0 - v if flip_vertical is true.