(self)
| 80 | } |
| 81 | } |
| 82 | |
| 83 | fn from_base(base: u32) -> Self { |
| 84 | let mut key = Self::empty(); |
| 85 | key.slots[0] = base; |
| 86 | key |
| 87 | } |
| 88 | |
| 89 | fn from_standard(material: &StandardMaterial3D) -> Self { |
| 90 | Self::from_standard_slots([ |
| 91 | material.base_color_texture, |
| 92 | material.metallic_roughness_texture, |
no outgoing calls