You can get the rendering parameters value in the view as well as in the controller.
Try to use the below code in the view
@{
string name=""
var renderingContext = Sitecore.Mvc.Presentation.RenderingContext.CurrentOrNull;
if (renderingContext != null)
{
var parms = renderingContext.Rendering.Parameters;
name= parms["name of the field here"];
}
}
In the controller, you can use the below code :
var addtionalCssParameter = RenderingContext.Current.Rendering.Parameters["name of the field"];
Both approach will work in SXA. If you will get an issue in SXA then you can try this code in the view.
@{
string name= Convert.ToString(Model.Rendering.Parameters["name of the field"]);
}