Migrating from 0.17 to 0.18
NOTE! Rerun 0.18 has not yet been released
⚠️ Breaking changes -breaking-changes
mesh_material: Material
has been renamed to albedo_factor: AlbedoFactor
#6841 meshmaterial-material-has-been-renamed-to-albedofactor-albedofactor-6841httpsgithubcomreruniorerunpull6841
The field mesh_material
in Mesh3D
is now named albedo_factor
and wraps a datatypes.Rgba32
.
When constructing a Mesh3D
:
- C++ & Rust:
.with_mesh_material(Material::from_albedo_factor(color))
->with_albedo_factor(color)
- Python:
mesh_material=rr.Material(albedo_factor=color)
->albedo_factor=color