ShaderMaterial.fromMap constructor
Implementation
ShaderMaterial.fromMap([Map<String, dynamic>? parameters]) : super() {
_init();
if (parameters != null) {
if (parameters['attributes'] != null) {
console.warning('ShaderMaterial: attributes should now be defined in BufferGeometry instead.');
}
uniformsGroups = parameters['uniformsGroups'] ?? [];
parameters.remove('uniformsGroups');
setValuesFromString(parameters);
}
}