void ObjectInstance::unassign_material( const char* slot, const Side side) { StringDictionary& material_mappings = side == FrontSide ? impl->m_front_material_mappings : impl->m_back_material_mappings; material_mappings.remove(slot); bump_version_id(); }
void ObjectInstance::assign_material( const char* slot, const Side side, const char* name) { StringDictionary& material_mappings = side == FrontSide ? impl->m_front_material_mappings : impl->m_back_material_mappings; material_mappings.insert(slot, name); bump_version_id(); }
void Light::set_transform(const Transformd& transform) { impl->m_transform = transform; bump_version_id(); }
void ObjectInstance::clear_back_materials() { impl->m_back_material_mappings.clear(); bump_version_id(); }