@SuppressWarnings("unchecked")
    public <T> T getParamValue(final String name) {
        final MatParam param = paramValues.get(name);
        return param == null ? null : (T) param.getValue();
    }
Returns the current parameter's value.

@param <T> the expected type of the parameter value
@param name the parameter name to look up.
@return current value or null if the parameter wasn't set.
jme3-core/src/main/java/com/jme3/material/Material.java