Function ssbh_data::mesh_data::read_colorsets [−][src]
pub fn read_colorsets(
mesh: &Mesh,
mesh_object: &MeshObject,
divide_by_2: bool
) -> Result<Vec<AttributeData>, Box<dyn Error>>
Expand description
Returns all the colorset attributes for the specified mesh_object
.
Values are scaled from 0u8 to 255u8 to 0.0f32 to 1.0f32. If divide_by_2
is true
,
the output range is 0.0f32 to 2.0f32.